Skip to content

Commit

Permalink
missing linter
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer committed Aug 9, 2024
1 parent ff4e5a9 commit 4ebe94b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spec-configuration/containerCollectionsOCI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,10 @@ export async function getBlob(params: CommonParams, url: string, ociCacheDir: st

await mkdirpLocal(destCachePath);
await writeLocalFile(tempTarballPath, resBody);

// https://github.com/devcontainers/spec/blob/main/docs/specs/devcontainer-templates.md#the-optionalpaths-property
const directoriesToOmit = omitDuringExtraction.filter(f => f.endsWith("/*")).map(f => f.slice(0, -1));
const filesToOmit = omitDuringExtraction.filter(f => !f.endsWith("/*"));
const directoriesToOmit = omitDuringExtraction.filter(f => f.endsWith('/*')).map(f => f.slice(0, -1));
const filesToOmit = omitDuringExtraction.filter(f => !f.endsWith('/*'));

output.write(`omitDuringExtraction: '${omitDuringExtraction.join(', ')}`, LogLevel.Trace);
output.write(`Files to omit: '${filesToOmit.join(', ')}'`, LogLevel.Info);
Expand Down

0 comments on commit 4ebe94b

Please sign in to comment.