diff options
Diffstat (limited to '.github/devcontainers-action/lib')
-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); } }); |