This commit is contained in:
MiTiX committed 2020-03-02 14:53:23 +07:00
1 parent f2c263eefa
commit 2ae7118139
4280 files changed
+484929

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
'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) {'
]
}
}
};