Skip to content

Commit

Permalink
feat: enable globstar matching
Browse files Browse the repository at this point in the history
It's disabled by default resulting in `**` path patterns to be treated as `*`.
  • Loading branch information
megglos authored Mar 8, 2024
1 parent 2b11286 commit 51e2a03
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 @@ -33,8 +33,8 @@ try {
await exec.exec(`ls ${path.dirname(binPath)}`);
console.log(`Making zbctl (${binPath}) available`);
core.addPath(path.dirname(binPath));
const output = await exec.getExecOutput(`bash -c "zbctl ${command}"`);
const output = await exec.getExecOutput(`bash -c "shopt -s globstar && zbctl ${command}"`);
core.setOutput("result", output.stdout);
} catch (error) {
core.setFailed(error.message);
}
}

0 comments on commit 51e2a03

Please sign in to comment.