mirror of https://github.com/actions/toolkit
docs(glob): Fix glob.create call in README example.
parent
88f7a7bc65
commit
306aaea26c
|
@ -70,7 +70,7 @@ const glob = require('@actions/glob')
|
|||
const globOptions = {
|
||||
followSymbolicLinks: core.getInput('follow-symbolic-links').toUpper() !== 'FALSE'
|
||||
}
|
||||
const globber = glob.create(core.getInput('files'), globOptions)
|
||||
const globber = await glob.create(core.getInput('files'), globOptions)
|
||||
for await (const file of globber.globGenerator()) {
|
||||
console.log(file)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue