blob: 9e95e35546cc6efac23dfcc2e23b7c51bf543f47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { info } from "./logger";
import { TurboIgnoreArgs } from "./types";
export function getTask(args: TurboIgnoreArgs): string | null {
if (args.task) {
info(`Using "${args.task}" as the task from the arguments`);
return `"${args.task}"`;
}
info('Using "build" as the task as it was unspecified');
return "build";
}
|