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:
parent
150eacd6fa
commit
1729a4d479
19 changed files with 222 additions and 206 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue