mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-05 13:52:56 -04:00
Change docs and CI scripts to use pnpm tauri command (#1421)
* Change docs and CI scripts to use `pnpm tauri` command - Fix documentation and some scripts to use the new tauri subcommand following https://github.com/spacedriveapp/spacedrive/pull/1411 changes - Format/Lint some files * Document new envvar to lauch devtools alongside the desktop app
This commit is contained in:
committed by
GitHub
parent
4e0dd5fe0b
commit
f71711d09a
@@ -43,7 +43,7 @@ async function getCache(resource, headers) {
|
||||
let header;
|
||||
|
||||
// Don't cache in CI
|
||||
if (env.CI === 'true') return null
|
||||
if (env.CI === 'true') return null;
|
||||
|
||||
if (headers)
|
||||
resource += Array.from(headers.entries())
|
||||
@@ -87,7 +87,7 @@ async function setCache(response, resource, cachedData, headers) {
|
||||
const data = Buffer.from(await response.arrayBuffer());
|
||||
|
||||
// Don't cache in CI
|
||||
if (env.CI === 'true') return data
|
||||
if (env.CI === 'true') return data;
|
||||
|
||||
const etag = response.headers.get('ETag') || undefined;
|
||||
const modifiedSince = response.headers.get('Last-Modified') || undefined;
|
||||
|
||||
Reference in New Issue
Block a user