diff options
author | Josh Spicer <joshspicer@github.com> | 2022-06-22 22:04:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 22:04:00 +0300 |
commit | 941f4d4245ebd01863d4ed8857f403823a609816 (patch) | |
tree | f58fee9ef15b83e962dc6171d4c14a992a4e00cf /.github/devcontainers-action/lib/utils.js | |
parent | 939170b10ccb34f6a5cdad869f3cda8a429cd3e3 (diff) |
no-ci node16 for action
Diffstat (limited to '.github/devcontainers-action/lib/utils.js')
-rw-r--r-- | .github/devcontainers-action/lib/utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/devcontainers-action/lib/utils.js b/.github/devcontainers-action/lib/utils.js index 44d7978..1d2e281 100644 --- a/.github/devcontainers-action/lib/utils.js +++ b/.github/devcontainers-action/lib/utils.js @@ -104,13 +104,13 @@ function getFeaturesAndPackage(basePath) { const featureFolder = path_1.default.join(basePath, file); const archiveName = `${file}.tgz`; tarDirectory(`${basePath}/${file}`, archiveName); - const featureJsonPath = path_1.default.join(featureFolder, "devcontainer-feature.json"); + const featureJsonPath = path_1.default.join(featureFolder, 'devcontainer-feature.json'); if (!fs.existsSync(featureJsonPath)) { core.error(`Feature ${file} is missing a devcontainer-feature.json`); core.setFailed('All features must have a devcontainer-feature.json'); return; } - const featureMetadata = JSON.parse(fs.readFileSync(featureJsonPath, "utf8")); + const featureMetadata = JSON.parse(fs.readFileSync(featureJsonPath, 'utf8')); metadatas.push(featureMetadata); } }); |