fix(cli): upgrade from docker
This commit is contained in:
parent
570d039f19
commit
c4c96e5a79
@ -12,9 +12,14 @@ module.exports = (cli) => {
|
||||
cli
|
||||
.command('upgrade')
|
||||
.allowUnknownOption()
|
||||
.action(async () => {
|
||||
.option('--raw')
|
||||
.action(async (options) => {
|
||||
promptForTs();
|
||||
const version = await getVersion();
|
||||
if (options.raw) {
|
||||
await runAppCommand('upgrade');
|
||||
return;
|
||||
}
|
||||
if (hasCorePackages()) {
|
||||
await run('yarn', ['install']);
|
||||
await runAppCommand('upgrade');
|
||||
|
Loading…
Reference in New Issue
Block a user