fix(artifacts): pass target metadata to format detection
This commit is contained in:
@@ -166,7 +166,7 @@ export const parseBinaryTarget = async (
|
|||||||
const artifactFormat =
|
const artifactFormat =
|
||||||
targetKind === "database"
|
targetKind === "database"
|
||||||
? undefined
|
? undefined
|
||||||
: await detectArtifactFormat(path, handle, signal);
|
: await detectArtifactFormat(path, handle, metadata, signal);
|
||||||
if (
|
if (
|
||||||
targetKind === "database" ||
|
targetKind === "database" ||
|
||||||
(targetKind === undefined &&
|
(targetKind === undefined &&
|
||||||
|
|||||||
Reference in New Issue
Block a user