Skip to content

Commit

Permalink
Fix nodesDir path in launcher.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mcl committed Nov 14, 2023
1 parent fa02e70 commit 86d1ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class Launcher {
// path to the `@flowforge/nr-project-nodes` for development purposes
const devEnvPath = path.join(__dirname, '..', '..', '..', 'packages', 'nr-project-nodes').replace(/\\/g, '/')
if (existsSync(devEnvPath)) {
settings.nodePaths.push(devEnvPath)
settings.nodesDir.push(devEnvPath)
} else {
settings.nodesDir.push(path.join(__dirname, '..', 'node_modules', '@flowfuse', 'nr-project-nodes').replace(/\\/g, '/'))
}
Expand Down

0 comments on commit 86d1ada

Please sign in to comment.