Skip to content

Commit

Permalink
fixed uncompressed load-fs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fcamblor committed Jul 7, 2021
1 parent 35f5b7b commit 581b807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/CachePersistor.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class CachePersistor {
}
loadCache(coords, path, pathName) {
return __awaiter(this, void 0, void 0, function* () {
yield $ `gsutil -m rsync -r ./${path} ${coords.bucketUrl}/content/${coords.branch}/${coords.cacheName}/${pathName}`;
yield $ `gsutil -m rsync -r ${coords.bucketUrl}/content/${coords.branch}/${coords.cacheName}/${pathName} ./${path}`;
});
}
deleteCache(coords) {
Expand Down
2 changes: 1 addition & 1 deletion src/CachePersistor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class CachePersistor {
}

async loadCache(coords: CacheCoordinates, path: string, pathName: string) {
await $`gsutil -m rsync -r ./${path} ${coords.bucketUrl}/content/${coords.branch}/${coords.cacheName}/${pathName}`
await $`gsutil -m rsync -r ${coords.bucketUrl}/content/${coords.branch}/${coords.cacheName}/${pathName} ./${path}`
}

async deleteCache(coords: CacheCoordinates) {
Expand Down

0 comments on commit 581b807

Please sign in to comment.