Skip to content

Commit

Permalink
update gitignore and ignore MODULE_NOT_FOUND on first build
Browse files Browse the repository at this point in the history
  • Loading branch information
schmod committed Sep 7, 2022
1 parent 3c20400 commit b8bc39f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.DS_Store
npm-debug.log
.vscode
.vscode
lib/regexps.js
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getKnown() {
}
return known;
} catch (e) {
if (e.code !== 'ENOENT') console.warn("Error parsing old regexps.js file. Ignoring and continuing...", e)
if (e.code !== 'MODULE_NOT_FOUND') console.warn("Error parsing old regexps.js file. Ignoring and continuing...", e)
return null;
}
}
Expand Down

0 comments on commit b8bc39f

Please sign in to comment.