Skip to content

Commit bfbf0ae

Browse files
committed
fix(valid-install): fix error message when CLI is run inside a ghost clone
no issue - gulp has been replaced back with grunt, update error messaging
1 parent 793715b commit bfbf0ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/command.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ const debug = createDebug('ghost-cli:command');
1919
function checkValidInstall(name) {
2020
if (fs.existsSync(path.join(process.cwd(), 'package.json')) &&
2121
fs.readJsonSync(path.join(process.cwd(), 'package.json')).name === 'ghost' &&
22-
fs.existsSync(path.join(process.cwd(), 'gulpfile.js'))) {
22+
fs.existsSync(path.join(process.cwd(), 'Gruntfile.js'))) {
2323
console.error('Ghost-CLI commands do not work inside of a clone or direct download.\n' +
24-
`Perhaps you meant 'gulp ${name}'?`);
24+
`Perhaps you meant 'grunt ${name}'?`);
2525
process.exit(1);
2626
}
2727

0 commit comments

Comments
 (0)