Skip to content

Commit

Permalink
normalised error output in startup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Awhiteweb committed Sep 16, 2022
1 parent 7dcc4bb commit 1af2d15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Launch-Scripts/runSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const runSetup = (tfjs=false) => {
(error, stdout) => {
if (error) {
console.log('')
console.log('There was an error installing some dependencies error: ')
console.log('There was an error installing some dependencies: ')
console.log('')
console.log(error)
process.exit(1)
Expand All @@ -174,8 +174,8 @@ const runSetup = (tfjs=false) => {
} catch (e) {
console.log('')
console.log('Event error: ')
console.log(e)
console.log('')
console.log(e)
process.exit(1)
}
})
Expand Down
2 changes: 1 addition & 1 deletion Launch-Scripts/runSetupPlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const cloneTheRepoPromise = async (resolve) => {
resolve()
})
.catch((err) => {
console.log('[ERROR] Setup of repo ' + global.env.PROJECT_PLUGIN_MAP[propertyName].repo + ' failed. You will need to set the git remote manually.')
console.log('[ERROR] Setup of repo ' + global.env.PROJECT_PLUGIN_MAP[propertyName].repo + ' failed. You will need to set the git remote manually. ')
console.log('')
console.log(err)
resolve()
Expand Down

0 comments on commit 1af2d15

Please sign in to comment.