diff options
Diffstat (limited to 'includes/serverinfo/node_modules/pkg/dictionary/mongodb-core.js')
-rwxr-xr-x | includes/serverinfo/node_modules/pkg/dictionary/mongodb-core.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/includes/serverinfo/node_modules/pkg/dictionary/mongodb-core.js b/includes/serverinfo/node_modules/pkg/dictionary/mongodb-core.js deleted file mode 100755 index 3067314..0000000 --- a/includes/serverinfo/node_modules/pkg/dictionary/mongodb-core.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -module.exports = { - pkg: { - patches: { - 'lib/error.js': [ - 'return err;', - 'if (err.message.indexOf("SyntaxError") >= 0) {' + - 'err.message = "Pkg: Try to specify your ' + - "javascript file in 'assets' in config. \" + err.message;" + - '};\n' + - 'return err;', - 'if (Error.captureStackTrace) {', - 'if (this.message.indexOf("SyntaxError") >= 0) {' + - 'this.message = "Pkg: Try to specify your ' + - "javascript file in 'assets' in config. \" + this.message;" + - '};\n' + - 'if (Error.captureStackTrace) {', - ], - }, - }, -}; |