mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: add unescaped regexp dot rule to linter
PR-URL: https://github.com/nodejs/node/pull/11834 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
This commit is contained in:
committed by
Franziska Hinkelmann
parent
678480e328
commit
61ebfa8d1f
@@ -7,7 +7,7 @@ const re = new RegExp(
|
||||
'^Error: The module \'.+\'\n' +
|
||||
'was compiled against a different Node\\.js version using\n' +
|
||||
'NODE_MODULE_VERSION 42\\. This version of Node\\.js requires\n' +
|
||||
`NODE_MODULE_VERSION ${process.versions.modules}. ` +
|
||||
`NODE_MODULE_VERSION ${process.versions.modules}\\. ` +
|
||||
'Please try re-compiling or re-installing\n' +
|
||||
'the module \\(for instance, using `npm rebuild` or `npm install`\\)\\.$');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user