mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
CI: save cache even when build failed
This commit is contained in:
@@ -180,7 +180,6 @@ export class Cache<S = string> {
|
||||
|
||||
if (peeked === promise) {
|
||||
return promise.then((value) => {
|
||||
const serializer = 'serializer' in opt ? opt.serializer : identity;
|
||||
this.set(key, serializer(value), ttl);
|
||||
return value;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user