Skip to content

Commit 3a8d7d3

Browse files
committed
Fix: Access tasks correctly (closes #28)
1 parent cb53126 commit 3a8d7d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ var usage =
4343
var parser = yargs.usage(usage, cliOptions);
4444
var opts = parser.argv;
4545

46-
// this translates the --continue flag in gulp
47-
// to the settle env variable for undertaker
48-
// we use the process.env so the user's gulpfile
49-
// can know about the flag
46+
// This translates the --continue flag in gulp
47+
// To the settle env variable for undertaker
48+
// We use the process.env so the user's gulpfile
49+
// Can know about the flag
5050
if (opts.continue) {
5151
process.env.UNDERTAKER_SETTLE = 'true';
5252
}

lib/versioned/^4.0.0-alpha.1/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function execute(opts, env) {
3131
nodes: gulpInst.tree({ deep: true }),
3232
};
3333
return logTasks(tree, function(task) {
34-
return gulpInst.get(task).description;
34+
return gulpInst.task(task).description;
3535
});
3636
}
3737
if (opts.tasksJson) {

0 commit comments

Comments
 (0)