Skip to content

Commit

Permalink
add depcheck exception
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Aug 18, 2023
1 parent ec3d713 commit 35ab9c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/src/commands/depcheck.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ export default async function depcheck() {

if (errors.length > 0) {
console.error(errors.join("\n"));
reject(new Error("Dependency check failed"));
if (config.name === "@rnx-kit/test-app") {
// The test app is the only exception to allow free experimentation
resolve(0);
} else {
reject(new Error("Dependency check failed"));
}
} else {
resolve(0);
}
Expand Down

0 comments on commit 35ab9c4

Please sign in to comment.