1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2025-07-10 21:00:46 +00:00

npm run format

This commit is contained in:
BSKY 2020-03-23 23:35:15 +09:00
parent 150eacd6fa
commit 1729a4d479
19 changed files with 222 additions and 206 deletions

View file

@ -47,7 +47,7 @@ export function isExactKeyMatch(
cacheResult &&
cacheResult.cacheKey &&
cacheResult.cacheKey.localeCompare(key, undefined, {
sensitivity: "accent"
sensitivity: "accent",
}) === 0
);
}
@ -88,7 +88,7 @@ export async function resolvePaths(patterns: string[]): Promise<string[]> {
const paths: string[] = [];
const workspace = process.env["GITHUB_WORKSPACE"] ?? process.cwd();
const globber = await glob.create(patterns.join("\n"), {
implicitDescendants: false
implicitDescendants: false,
});
for await (const file of globber.globGenerator()) {