fix(artifacts): pass target metadata to format detection
This commit is contained in:
1 parent
502266b3f7
commit
0434be924e
1 file changed
+1
-1
@@ -166,7 +166,7 @@ export const parseBinaryTarget = async (
|
||||
const artifactFormat =
|
||||
targetKind === "database"
|
||||
? undefined
|
||||
: await detectArtifactFormat(path, handle, signal);
|
||||
: await detectArtifactFormat(path, handle, metadata, signal);
|
||||
if (
|
||||
targetKind === "database" ||
|
||||
(targetKind === undefined &&
|
||||
|
||||
Reference in new issue
Block a user