Skip to content

Commit 0fa0e1a

Browse files
committed
Fix canonical data check script
The script was reporting version as different because of windows line ending. These line endings are now being removed before the version comparison.
1 parent 8037846 commit 0fa0e1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/canonical_data_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ do
9393
continue
9494
fi
9595

96-
track_data_version=$(cat $track_exercise_version_file_path)
96+
track_data_version=$(cat $track_exercise_version_file_path | sed 's/\r$//')
9797

9898
if [ "$track_data_version" = "$canonical_data_version" ]
9999
then

0 commit comments

Comments
 (0)