Skip to content

Commit e897dac

Browse files
committed
fix(gulp): check proper hook name
1 parent 375ad4b commit e897dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function runWithGulp(argv, taskInstance){
169169
return Q.fcall(taskInstance.run.bind(taskInstance), Cli, argv);
170170
}
171171
).then(function(){
172-
if (gulp.tasks[beforeHook]) {
172+
if (gulp.tasks[afterHook]) {
173173
console.info('\nRunning \'' + afterHook + '\' Gulp task after ' + cmdName);
174174
}
175175
return Q.nfcall(gulp.start.bind(gulp), afterHook);

0 commit comments

Comments
 (0)