Keep artifact list and beta queries free of file bytes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { getVersionContent } from './scripts.js';
|
||||
import { readdir, readFile, stat, nativeFileManifest, type FileFingerprint } from '../backends/files.js';
|
||||
import { randomUUID } from 'node:crypto';
|
||||
import type { DriftPlan, DriftPlanFile } from '$lib/drift-plan.js';
|
||||
@@ -275,7 +276,7 @@ async function resolveManagedEntry(server: string, entry: DriftEntry): Promise<B
|
||||
}
|
||||
if (!entry.scriptVersionId) return null;
|
||||
const ver = getVersion(entry.scriptVersionId);
|
||||
return ver?.content ?? null;
|
||||
return ver ? getVersionContent(ver.id) : null;
|
||||
}
|
||||
|
||||
function composeExpectedCfg(
|
||||
|
||||
Reference in New Issue
Block a user