Skip to content

Commit e982599

Browse files
authored
Merge pull request #222 from BranchMetrics/move_node_modules
fix: moved node_modules from root directory to io.branch.sdk directory
2 parents 3fc3bf9 + 99778da commit e982599

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)