Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
chengxi.li committed Apr 13, 2020
1 parent 67f5671 commit d2bc555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const init = async () => {
}

let codePath = staticSrcPath;
core.debug(`codePath: ${codePath}`)
core.debug(`codePath: ${codePath}`);
//收集需要上传的文件,传入数组
let globResult = await new Promise((resolve, reject) => {
glob('**/*', { cwd: codePath }, function (err, files) {
Expand All @@ -170,7 +170,7 @@ const init = async () => {
resolve(files);
});
});
core.debug(`globResult: ${globResult}`)
core.debug(`globResult: ${globResult}`);

// 忽略某些文件
// globResult = skipFiles({}, globResult);
Expand Down

0 comments on commit d2bc555

Please sign in to comment.