Skip to content

Commit

Permalink
throw json stringifyied failureResultArray in scripts/generate.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Aug 5, 2024
1 parent b17ebc9 commit 4cbbe5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { successResultArray, failureResultArray } = await traverseRules();

if (failureResultArray.length > 0) {
throw new Error(
`Failed to generate rules for the following rules ${failureResultArray}`
`Failed to generate rules for the following rules ${JSON.stringify(failureResultArray)}`
);
}

Expand Down

0 comments on commit 4cbbe5c

Please sign in to comment.