crabatool 1.0.512 → 1.0.513
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tool/compress.js +1 -1
package/package.json
CHANGED
package/tool/compress.js
CHANGED
|
@@ -67,7 +67,7 @@ function checkJsOk() {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
function checkJsHasZ(jsName) {
|
|
70
|
-
var crabaJs = path.join(_tempJsPath,
|
|
70
|
+
var crabaJs = path.join(_tempJsPath, jsName);
|
|
71
71
|
var contentJs = fs.readFileSync(crabaJs);
|
|
72
72
|
if (contentJs.indexOf('_Z_') > 0) {
|
|
73
73
|
throw new Error('test,test,test;upload craba失败,' + jsName + '文件的黑名单类名(_Z_)替换失败,终止打包和上传任务;请重试打包。');
|