-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix global variables in
@ninjutsu-build/node/runtime
Replace global variabls with `global` instead as this was causing issues with variables being reinitialized with `undefined`. Additionally, change `addDependency` to do nothing if `open` hasn't yet been called because it is easier to debug and there will be many situations where projects may want to try out `ninjutsu-build` in parallel to their existing system. This allows them to add in `addDependency` where expected, but have this be a no-op in their existing build.
- Loading branch information
1 parent
d60313a
commit d0af42d
Showing
2 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters