Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Sep 12, 2021
1 parent cfcdedf commit 5421d4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/combination/tasks/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ export const listTasks = async function (runners, cwd) {

const getRunnerTasks = async function (runner, cwd) {
const runnerA = await loadRunner(runner)
const tasks = await applyDefaultTasks(runnerA)
const tasksA = await Promise.all(
tasks.map((taskPath) => findTasks(taskPath, cwd, runnerA)),
const taskPaths = await applyDefaultTasks(runnerA)
const tasks = await Promise.all(
taskPaths.map((taskPath) => findTasks(taskPath, cwd, runnerA)),
)
return tasksA.flat()
return tasks.flat()
}

// When two task files export the same task id, we only keep one based on the
Expand Down

0 comments on commit 5421d4b

Please sign in to comment.