Revert "Run Node Setup on Branch Switch Initial"

This reverts commit bf17265ac0.
This commit is contained in:
harrellbm committed 2021-09-30 11:52:16 -05:00
1 parent 15d06e05df
commit 434db6a138
1 file changed
-18
@@ -254,24 +254,6 @@ function newEducationDocSpace() {
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";
exec( command,
{
cwd: dir
},
function ( error, stdout ){
if (error) {
console.log('');
console.log("There was an error updating dependencies for this branch: ");
console.log('');
console.log( error );
return;
}
console.log('');
console.log( stdout );
});
} else {
UI.projects.education.spaces.docsSpace.navigateTo(
data.docs.project,