Skip to content

Commit 41abedf

Browse files
committed
Deploy when there's not a file on unpkg
1 parent e4577bc commit 41abedf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

deploy/deployChangedPackages.mjs

+4-5
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,10 @@ const go = async () => {
5555
upload = upload || npmDTSText !== generatedDTSContent;
5656
} catch (error) {
5757
// Could not find a previous build
58-
console.log(
59-
`Could not get the file ${file} inside the npm package ${pkgJSON.name} from unpkg at ${unpkgURL}`
60-
);
61-
process.exitCode = 1;
62-
upload = false;
58+
console.log(`
59+
Could not get the file ${file} inside the npm package ${pkgJSON.name} from unpkg at ${unpkgURL}
60+
Assuming that this means we need to upload this package.`);
61+
upload = true;
6362
}
6463
}
6564

0 commit comments

Comments
 (0)