Skip to content

Commit

Permalink
proper glob
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Aug 17, 2023
1 parent 642c298 commit 1f7f985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const latest = core.getBooleanInput("latest");
process.chdir(path);
$.cwd = process.cwd();

const fileList = await glob(files.concat("[Rr][Ee][Aa][Dd][Mm][Ee].(md|mdown|markdown)", "[Ll][Ii][CcSs][Ee][Nn][CcSs][Ee]*", "devcontainer-feature.json"), { ignore: [".git/**"], dot: true });
const fileList = await glob(files.concat("[Rr][Ee][Aa][Dd][Mm][Ee].{md,mdown,markdown}", "[Ll][Ii][CcSs][Ee][Nn][CcSs][Ee]*", "devcontainer-feature.json"), { ignore: [".git/**"], dot: true });

const archivePath = temporaryFile();
await $`tar -cvf ${archivePath} ${fileList}`;
Expand Down

0 comments on commit 1f7f985

Please sign in to comment.