Unverified Commit 65c2aae0 authored by adisbladis's avatar adisbladis Committed by GitHub
Browse files

nix-prefetch-darcs: fix tag JSON output error (#460691)

parents a0584e2f 04725cf5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ cat <<EOF
	"repository": $(json_escape "$repository"),
EOF
if [ -n "$tag" ]; then cat <<EOF
	"tag": "$(json_escape "$tag")",
	"tag": $(json_escape "$tag"),
EOF
elif [ -n "$darcs_hash" ]; then cat <<EOF
	"darcs-hash": $(json_escape "$darcs_hash"),