Skip to content

Commit 99778da

Browse files
committed
fix: move node_modules from root directory to io.branch.sdk directory
1 parent d840ad4 commit 99778da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hooks.es6/beforePluginInstallHook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function installNodeModule(moduleName, callback) {
4242
}
4343
printLog('Can\'t find module ' + moduleName + ', running npm install');
4444

45-
var cmd = 'npm install -D ' + moduleName;
45+
var cmd = 'cd plugins/io.branch.sdk; npm install -D ' + moduleName;
4646
exec(cmd, function(err, stdout, stderr) {
4747
callback(err);
4848
});

hooks/beforePluginInstallHook.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)