Files: d456a6cc8589489e558e6164750474ed2cfc961e / dictionary / mongodb-core.js
641 bytesRaw
1 | ; |
2 | |
3 | module.exports = { |
4 | pkg: { |
5 | patches: { |
6 | 'lib/error.js': [ |
7 | 'return err;', |
8 | 'if (err.message.indexOf("SyntaxError") >= 0) {' + |
9 | 'err.message = "Pkg: Try to specify your ' + |
10 | 'javascript file in \'assets\' in config. " + err.message;' + |
11 | '};\n' + |
12 | 'return err;', |
13 | 'if (Error.captureStackTrace) {', |
14 | 'if (this.message.indexOf("SyntaxError") >= 0) {' + |
15 | 'this.message = "Pkg: Try to specify your ' + |
16 | 'javascript file in \'assets\' in config. " + this.message;' + |
17 | '};\n' + |
18 | 'if (Error.captureStackTrace) {' |
19 | ] |
20 | } |
21 | } |
22 | }; |
23 |
Built with git-ssb-web