浏览代码

Remove redundant resolve

Steven Silvester 7 年之前
父节点
当前提交
3ec9ce4e32
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      scripts/ensure-integrity.js

+ 0 - 1
scripts/ensure-integrity.js

@@ -205,7 +205,6 @@ function ensureIntegrity() {
 
   // Pick up all the package versions.
   utils.getLernaPaths().forEach(function(pkgPath) {
-    pkgPath = path.resolve(pkgPath);
     // Read in the package.json.
     try {
       var package = require(path.join(pkgPath, 'package.json'));