Commit 04725cf5 authored by toastal's avatar toastal
Browse files

nix-prefetch-darcs: fix tag JSON output error

parent 189a0a96
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"),