mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
fix comments to be what is happening.
This commit is contained in:
parent
fd4f747706
commit
8aa65e7761
@ -85,8 +85,8 @@ function init(_settings, _runtime) {
|
||||
var ffBase = fspath.basename(flowsFullPath,ffExt);
|
||||
|
||||
flowsFileBackup = getBackupFilename(flowsFullPath);
|
||||
credentialsFile = fspath.join(settings.userDir,ffBase+"_cred"+ffExt); // if creds file exists in "old" location use
|
||||
if (!fs.existsSync(credentialsFile)) { // if not then locate it next to flows file in user dir
|
||||
credentialsFile = fspath.join(settings.userDir,ffBase+"_cred"+ffExt); // if creds file exists in "old" location userdir then use it
|
||||
if (!fs.existsSync(credentialsFile)) { // if not then locate it next to flows file in flows dir
|
||||
credentialsFile = fspath.join(fspath.dirname(flowsFullPath), ffBase+"_cred"+ffExt);
|
||||
}
|
||||
credentialsFileBackup = getBackupFilename(credentialsFile)
|
||||
|
Loading…
x
Reference in New Issue
Block a user