Completely updated React, fixed #11, (hopefully)
This commit is contained in:
14
goTorrentWebUI/node_modules/react-scripts/scripts/eject.js
generated
vendored
14
goTorrentWebUI/node_modules/react-scripts/scripts/eject.js
generated
vendored
@@ -54,11 +54,17 @@ inquirer
|
||||
if (gitStatus) {
|
||||
console.error(
|
||||
chalk.red(
|
||||
`This git repository has untracked files or uncommitted changes:\n\n` +
|
||||
gitStatus.split('\n').map(line => ' ' + line) +
|
||||
'\n\n' +
|
||||
'This git repository has untracked files or uncommitted changes:'
|
||||
) +
|
||||
'\n\n' +
|
||||
gitStatus
|
||||
.split('\n')
|
||||
.map(line => line.match(/ .*/g)[0].trim())
|
||||
.join('\n') +
|
||||
'\n\n' +
|
||||
chalk.red(
|
||||
'Remove untracked files, stash or commit any changes, and try again.'
|
||||
)
|
||||
)
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user