Skip to content

Commit

Permalink
Fix: Access tasks correctly (closes #28)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Dec 21, 2017
1 parent cb53126 commit 3a8d7d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ var usage =
var parser = yargs.usage(usage, cliOptions);
var opts = parser.argv;

// this translates the --continue flag in gulp
// to the settle env variable for undertaker
// we use the process.env so the user's gulpfile
// can know about the flag
// This translates the --continue flag in gulp
// To the settle env variable for undertaker
// We use the process.env so the user's gulpfile
// Can know about the flag
if (opts.continue) {
process.env.UNDERTAKER_SETTLE = 'true';
}
Expand Down
2 changes: 1 addition & 1 deletion lib/versioned/^4.0.0-alpha.1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function execute(opts, env) {
nodes: gulpInst.tree({ deep: true }),
};
return logTasks(tree, function(task) {
return gulpInst.get(task).description;
return gulpInst.task(task).description;
});
}
if (opts.tasksJson) {
Expand Down

0 comments on commit 3a8d7d3

Please sign in to comment.