Skip to content

Commit

Permalink
updated path to localfs for org rename
Browse files Browse the repository at this point in the history
fixes #190
  • Loading branch information
Steve-Mcl authored Nov 15, 2023
1 parent 70b8b99 commit e7c9b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,10 +346,10 @@ class Launcher {
]

// Check to see if we're in the dev-env - in which case, we need to add the right
// path to NODE_PATH so that the settings file can load `@flowforge/nr-launcher/*`
// path to NODE_PATH so that the settings file can load `@flowfuse/nr-launcher/*`
// We have to point at the driver-localfs node_modules as that will have the right paths
// in place to load this module.
const devEnvPath = path.join(require.main.path, '..', 'flowforge-driver-localfs', 'node_modules')
const devEnvPath = path.join(require.main.path, '..', 'driver-localfs', 'node_modules')
if (fs.existsSync(devEnvPath)) {
nodePaths.push(devEnvPath)
}
Expand Down

0 comments on commit e7c9b11

Please sign in to comment.