fix mispell

This commit is contained in:
Keyi Xie
2019-04-09 13:21:46 +08:00
parent 56f1b4795f
commit 172a32d5c6
5 changed files with 9 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ async function _doExecute(task: Task): Promise<void> {
// Always invoke as if it were a callback task
return new Promise((resolve, reject) => {
if (task.length === 1) {
// this is a calback task
// this is a callback task
task((err) => {
if (err) {
return reject(err);
@@ -122,4 +122,4 @@ export function define(name: string, task: Task): Task {
task.taskName = name;
task.displayName = name;
return task;
}
}