Skip to content

Commit b015169

Browse files
authored
fix(ng-dev): handle error when running bazel sync --only=repo (#2587)
See comment
1 parent b7317b1 commit b015169

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ng-dev/release/publish/external-commands.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ export abstract class ExternalCommands {
270270
mode: 'silent',
271271
});
272272
} catch (e) {
273-
Log.error(e);
274-
Log.error(' ✘ An error occurred while updating Aspect lock files.');
275-
throw new FatalReleaseActionError();
273+
// Note: Gracefully handling these errors because `sync` command
274+
// exits with a non-zero exit code when pnpm-lock.yaml file is updated.
275+
Log.debug(e);
276276
}
277277
spinner.success(green(' Updated Aspect `rules_js` lock files.'));
278278
}

0 commit comments

Comments
 (0)