Skip to content

Commit 5851190

Browse files
Fix check of msbridge file (#29)
1 parent 08d0d2b commit 5851190

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const checkLockVersion = require("./lib/checks/lockVersion");
22
const checkForPreRelease = require("./lib/checks/preReleases");
33
const checkForWorkspaces = require("./lib/checks/workspaces");
4+
const hasMSBridgeConfig = require("./lib/checks/msbridge");
45
const hasYarnLock = require("./lib/checks/yarn");
56
const { FatalError } = require("./lib/errors");
67
const { getPackageLock, getPackage } = require("./lib/utils");
@@ -13,6 +14,7 @@ function lint() {
1314
errors.push(checkLockVersion(pkgLock));
1415
errors.push(checkForPreRelease(pkgJson));
1516
errors.push(checkForWorkspaces(pkgJson));
17+
errors.push(hasMSBridgeConfig());
1618
for (const error of errors) {
1719
if (error instanceof FatalError) {
1820
process.stderr.write(`${error.message}\n`);

0 commit comments

Comments
 (0)