Skip to content

Commit

Permalink
Fix check of msbridge file (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeauriach committed Jun 6, 2023
1 parent 08d0d2b commit 5851190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const checkLockVersion = require("./lib/checks/lockVersion");
const checkForPreRelease = require("./lib/checks/preReleases");
const checkForWorkspaces = require("./lib/checks/workspaces");
const hasMSBridgeConfig = require("./lib/checks/msbridge");
const hasYarnLock = require("./lib/checks/yarn");
const { FatalError } = require("./lib/errors");
const { getPackageLock, getPackage } = require("./lib/utils");
Expand All @@ -13,6 +14,7 @@ function lint() {
errors.push(checkLockVersion(pkgLock));
errors.push(checkForPreRelease(pkgJson));
errors.push(checkForWorkspaces(pkgJson));
errors.push(hasMSBridgeConfig());
for (const error of errors) {
if (error instanceof FatalError) {
process.stderr.write(`${error.message}\n`);
Expand Down

0 comments on commit 5851190

Please sign in to comment.