Added an glob pattern test
All checks were successful
Lint / pre-commit Linting (push) Successful in 26s
All checks were successful
Lint / pre-commit Linting (push) Successful in 26s
This commit is contained in:
parent
f6cf869bcb
commit
227dde862d
2
index.js
2
index.js
@ -41,6 +41,8 @@ function replacePlaceholders(content) {
|
||||
async function readReplaceAndWriteFiles(pattern, prefix) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const globPattern = prefix ? path.join(prefix, pattern) : pattern;
|
||||
core.info("globPattern");
|
||||
core.info(globPattern);
|
||||
|
||||
glob(globPattern, async (err, files) => {
|
||||
if (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user