Skip to content

Commit

Permalink
Update globby
Browse files Browse the repository at this point in the history
Signed-off-by: owent <admin@owent.net>
  • Loading branch information
owent committed Mar 25, 2022
1 parent 6e9301b commit d09f039
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as action_core from "@actions/core";
import * as action_github from "@actions/github";
import globby from "globby";
import { globby } from "globby";
import micromatch from 'micromatch';
import * as path from "path";
import * as fs from "fs";
Expand Down Expand Up @@ -145,7 +145,7 @@ async function run() {
}
}

const upload_files = await globby.globby(upload_files_pattern);
const upload_files = await globby(upload_files_pattern);
if (!upload_files || upload_files.length <= 0) {
action_core.setFailed(`Can not find any file by ${upload_files_pattern}`);
return;
Expand Down

0 comments on commit d09f039

Please sign in to comment.