Skip to content

Commit 7b1134b

Browse files
committed
Fix turbo command
1 parent 1ebb53a commit 7b1134b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const run = async (): Promise<void> => {
1414
debug(`Inputs: ${JSON.stringify({ prefix, from, to, workingDirectory })}`)
1515

1616
const json = execSync(
17-
`npx turbo run build --filter="[${from}...${to}]" --dry-run=json`,
17+
`npx turbo run build ${from || to ? `--filter="[${from}...${to}]"` : ''} --dry-run=json`,
1818
{
1919
cwd: join(process.cwd(), workingDirectory),
2020
encoding: 'utf-8',

0 commit comments

Comments
 (0)