Skip to content

Commit 3028820

Browse files
committed
chore: fmt!
1 parent 008d727 commit 3028820

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/bin/bots/notarizer.cjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,8 @@ async function main() {
247247
.catch(err => {
248248
console.warn(`[${tag}] ${debug ? `(after ${commas(Date.now() - dryRunStart)} msecs) ` : " "}Dry-run failed: ${err}`);
249249
metrics.errors += 1;
250-
return null;
250+
reject(); // skip notarization
251251
});
252-
253-
// skip notarization if the dry-run failed
254-
if (currentValue === null) reject();
255252

256253
// compute and evaluate current deviation with respect to last notarized value
257254
const deviation = lastUpdates[caption].value > 0

0 commit comments

Comments
 (0)