mirror of
https://github.com/rharkor/caching-for-turbo.git
synced 2025-06-09 17:44:48 +09:00
fix: ci
This commit is contained in:
parent
446c56668a
commit
a387c2631d
3 changed files with 7 additions and 3 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
@ -88225,7 +88225,9 @@ function getCacheClient() {
|
|||
const buildedError = new HandledError(status, statusText, data);
|
||||
return handleFetchError('Unable to query cache')(buildedError);
|
||||
}
|
||||
const data = await res.json();
|
||||
const text = await res.text();
|
||||
core.info('Cache query response: ' + text);
|
||||
const data = JSON.parse(text);
|
||||
return { success: true, data };
|
||||
}
|
||||
catch (error) {
|
||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
4
src/lib/cache/utils.ts
vendored
4
src/lib/cache/utils.ts
vendored
|
@ -119,7 +119,9 @@ export function getCacheClient() {
|
|||
const buildedError = new HandledError(status, statusText, data)
|
||||
return handleFetchError('Unable to query cache')(buildedError)
|
||||
}
|
||||
const data = await res.json()
|
||||
const text = await res.text()
|
||||
core.info('Cache query response: ' + text)
|
||||
const data = JSON.parse(text)
|
||||
return { success: true, data }
|
||||
} catch (error) {
|
||||
return handleFetchError('Unable to query cache')(error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue