diff --git a/dist/index.js b/dist/index.js index 226a511..5599524 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/src/inputs/index.ts b/src/inputs/index.ts index 313fa50..fa13ec4 100644 --- a/src/inputs/index.ts +++ b/src/inputs/index.ts @@ -18,6 +18,7 @@ async function parsePath(pattern: string, inputName: string) { const paths = await builder.glob() if (paths.length !== 1) { error(`Input ${inputName} is expected to match 1 path, but it matches ${paths.length}: ${inspect(paths)}`) + throw process.exit(1) } return paths[0] }