Skip to content

Commit

Permalink
change flightcheck command to not halt on lint exit
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethbruskiewicz committed Nov 13, 2024
1 parent 49a03c6 commit 43a313e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/AppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,11 +607,11 @@ export default class AppContext {
};
context.setDataHarmonizers(dhs);

if (!!context.oneToManyAppContext) {
if (context.oneToManyAppContext) {
context.oneToManyAppContext.destroy();
}
const appContext = buildAppContext(schema);
context.oneToManyAppContext = setup1M(appContext, dhs); // returns an event manager
context.oneToManyAppContext = setup1M(appContext, dhs); // returns an event manager

return context;
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:lib": "yarn clean:lib && rollup --config lib/rollup.config.js",
"build:web": "yarn clean:web && webpack --mode=production --config web/webpack.config.js",
"dev": "webpack serve --mode=development --config web/webpack.config.js",
"flightcheck": "yarn format && yarn lint && yarn test",
"flightcheck": "yarn format && yarn lint ; yarn test",
"test": "jest tests/"
},
"peerDependencies": {
Expand Down

0 comments on commit 43a313e

Please sign in to comment.