From 306aaea26cff11ac1aaf99774b1b7a958b3ca28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Sun, 25 Feb 2024 20:58:30 +0000 Subject: [PATCH] docs(glob): Fix glob.create call in README example. --- packages/glob/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/glob/README.md b/packages/glob/README.md index 9575beaa..3baae327 100644 --- a/packages/glob/README.md +++ b/packages/glob/README.md @@ -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) }