eric sciple 5 年之前
父節點
當前提交
afff79a5a2
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      dist/index.js

+ 3 - 1
dist/index.js

@@ -8115,7 +8115,9 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
         assert.ok(runnerTemp, 'RUNNER_TEMP not defined');
         const archiveFile = path.join(runnerTemp, 'checkout.tar.gz');
         yield fs.promises.writeFile(archiveFile, response.data);
-        yield exec.exec(`tar -xzf "${archiveFile}"`, [], { cwd: repositoryPath });
+        yield exec.exec(`tar -xzf "${archiveFile}"`, [], {
+            cwd: repositoryPath
+        });
     });
 }
 exports.downloadRepository = downloadRepository;