Skip to content

Commit

Permalink
fix json output
Browse files Browse the repository at this point in the history
  • Loading branch information
masonr authored Dec 20, 2024
1 parent e0c38bb commit 729cb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yabs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ function calculate_time_taken() {
else
echo "YABS completed in ${time_taken} sec"
fi
[[ -n $JSON ]] && JSON_RESULT+=",\"runtime\":{\"start\":'$start_time',\"end\":'$end_time',\"elapsed\":'$time_taken'}"
[[ -n $JSON ]] && JSON_RESULT+=",\"runtime\":{\"start\":$start_time,\"end\":$end_time,\"elapsed\":$time_taken}"
}

calculate_time_taken "$YABS_END_TIME" "$YABS_START_TIME"
Expand Down

0 comments on commit 729cb55

Please sign in to comment.