mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-15 05:05:09 +00:00
Revert dist changes
This commit is contained in:
parent
1cc4eb3f03
commit
7ceefde9a1
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…
x
Reference in New Issue
Block a user