display branch changed page after node setup is run
This commit is contained in:
1 parent
357e9a04bc
commit
563e648079
1 file changed
+3
-2
@@ -253,7 +253,7 @@ function newEducationDocSpace() {
|
||||
UI.projects.foundations.utilities.nodeConfig.saveConfigProperty(workspace.payload, 'currentBranch', branch)
|
||||
|
||||
if (doNotNavigate === true) { return }
|
||||
UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Switching Branches - Current Branch Changed')
|
||||
|
||||
// Run Node Setup to Update dependencies upon branch switch
|
||||
let dir = path.join( process.cwd(), "..", "..", "..", "..", ".." )
|
||||
let command = "node setup";
|
||||
@@ -268,7 +268,8 @@ function newEducationDocSpace() {
|
||||
console.log('');
|
||||
console.log( error );
|
||||
return;
|
||||
}
|
||||
}
|
||||
UI.projects.education.spaces.docsSpace.navigateTo('Foundations', 'Topic', 'Switching Branches - Current Branch Changed')
|
||||
console.log('');
|
||||
console.log( stdout );
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user