Skip to content

Commit

Permalink
use .task to get the task - closes #28
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Dec 21, 2017
1 parent 64e034e commit dfe0898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/versioned/^4.0.0-alpha.1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ function execute(opts, env) {
if (opts.tasks) {
var tree = {
label: 'Tasks for ' + chalk.magenta(tildify(env.configPath)),
nodes: gulpInst.tree({ deep: true }),
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 dfe0898

Please sign in to comment.