Skip to content

Commit

Permalink
Updated the check for untraced
Browse files Browse the repository at this point in the history
  • Loading branch information
ethriel3695 committed Oct 10, 2023
1 parent c92d977 commit 743db4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-src/tasks/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const traceChangedFiles = async (ctx: Context, task: Task) => {
} else {
ctx.log.warn(`Could not retrieve dependency changes from lockfiles; checking package.json`);
const changedPackageFiles = await findChangedPackageFiles(packageManifestChanges);
if (changedPackageFiles.length > 0) {
if (changedPackageFiles.length > 0 && !ctx.untracedFiles) {
ctx.turboSnap.bailReason = { changedPackageFiles };
ctx.log.warn(bailFile({ turboSnap: ctx.turboSnap }));
return;
Expand Down

0 comments on commit 743db4e

Please sign in to comment.