We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5c4959 commit cb6062fCopy full SHA for cb6062f
lib/commands/install.js
@@ -41,9 +41,11 @@ class InstallCommand extends Command {
41
42
let local = false;
43
44
- if (version === 'local') {
+ // If command is `ghost install local`, or command is
45
+ // `ghost install 1.x.x --local`, do a local install
46
+ if (version === 'local' || argv.local) {
47
local = true;
- version = null;
48
+ version = (version === 'local') ? null : version;
49
this.system.setEnvironment(true, true);
50
}
51
0 commit comments