mirror of
https://github.com/Swatinem/rust-cache
synced 2026-02-07 11:32:15 +00:00
Revert dist changes
This commit is contained in:
parent
1cc4eb3f03
commit
7ceefde9a1
2 changed files with 3334 additions and 3336 deletions
1
dist/restore/index.js
vendored
1
dist/restore/index.js
vendored
|
|
@ -59948,7 +59948,6 @@ class CacheConfig {
|
||||||
const root = workspace.root;
|
const root = workspace.root;
|
||||||
keyFiles.push(...(await globFiles(`${root}/**/Cargo.toml\n${root}/**/Cargo.lock\n${root}/**/rust-toolchain\n${root}/**/rust-toolchain.toml`)));
|
keyFiles.push(...(await globFiles(`${root}/**/Cargo.toml\n${root}/**/Cargo.lock\n${root}/**/rust-toolchain\n${root}/**/rust-toolchain.toml`)));
|
||||||
}
|
}
|
||||||
keyFiles = keyFiles.filter(file => !external_fs_default().statSync(file).isDirectory());
|
|
||||||
keyFiles.sort((a, b) => a.localeCompare(b));
|
keyFiles.sort((a, b) => a.localeCompare(b));
|
||||||
hasher = external_crypto_default().createHash("sha1");
|
hasher = external_crypto_default().createHash("sha1");
|
||||||
for (const file of keyFiles) {
|
for (const file of keyFiles) {
|
||||||
|
|
|
||||||
1
dist/save/index.js
vendored
1
dist/save/index.js
vendored
|
|
@ -59948,7 +59948,6 @@ class CacheConfig {
|
||||||
const root = workspace.root;
|
const root = workspace.root;
|
||||||
keyFiles.push(...(await globFiles(`${root}/**/Cargo.toml\n${root}/**/Cargo.lock\n${root}/**/rust-toolchain\n${root}/**/rust-toolchain.toml`)));
|
keyFiles.push(...(await globFiles(`${root}/**/Cargo.toml\n${root}/**/Cargo.lock\n${root}/**/rust-toolchain\n${root}/**/rust-toolchain.toml`)));
|
||||||
}
|
}
|
||||||
keyFiles = keyFiles.filter(file => !external_fs_default().statSync(file).isDirectory());
|
|
||||||
keyFiles.sort((a, b) => a.localeCompare(b));
|
keyFiles.sort((a, b) => a.localeCompare(b));
|
||||||
hasher = external_crypto_default().createHash("sha1");
|
hasher = external_crypto_default().createHash("sha1");
|
||||||
for (const file of keyFiles) {
|
for (const file of keyFiles) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue