Skip to content

Commit 8f93839

Browse files
committed
Fix changeset script err
1 parent 2a6f32d commit 8f93839

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.changeset/config.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@firebase/auth-exp",
1616
"@firebase/auth-compat",
1717
"@firebase/auth-types-exp",
18+
"@firebase/functions-compat",
1819
"@firebase/functions-exp",
1920
"@firebase/functions-types-exp",
2021
"@firebase/installations-exp",

scripts/check_changeset.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ async function main() {
8989
await exec('yarn changeset status');
9090
console.log(`::set-output name=BLOCKING_FAILURE::false`);
9191
} catch (e) {
92+
console.log(e);
9293
const messageLines = e.message.replace(/🦋 error /g, '').split('\n');
9394
let formattedStatusError =
9495
'- Changeset formatting error in following file:%0A';
@@ -112,9 +113,7 @@ async function main() {
112113
}
113114
try {
114115
const diffData = await getDiffData();
115-
if (diffData == null) {
116-
process.exit();
117-
} else {
116+
if (diffData != null) {
118117
const { changedPackages, changesetFile } = diffData;
119118
const changesetPackages = await parseChangesetFile(changesetFile);
120119
const missingPackages = [...changedPackages].filter(

0 commit comments

Comments
 (0)