From f10a46fa5ef7b5fd336062ccb2fd58a3c8178e44 Mon Sep 17 00:00:00 2001 From: David Son Date: Mon, 25 Mar 2024 23:06:52 +0000 Subject: [PATCH] Fix scripts/check-dco.sh CI failure Signed-off-by: David Son --- scripts/check-all.sh | 2 +- scripts/check-dco.sh | 2 +- scripts/check-ltag.sh | 2 +- scripts/check-regression.sh | 2 +- scripts/visualization-data-converter.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/check-all.sh b/scripts/check-all.sh index 454957226..d378f550b 100755 --- a/scripts/check-all.sh +++ b/scripts/check-all.sh @@ -19,4 +19,4 @@ set -eux -o pipefail ./check-dco.sh ./check-flatc.sh ./check-ltag.sh -./check-lint.sh \ No newline at end of file +./check-lint.sh diff --git a/scripts/check-dco.sh b/scripts/check-dco.sh index 95c78db20..2b93eebc2 100755 --- a/scripts/check-dco.sh +++ b/scripts/check-dco.sh @@ -19,4 +19,4 @@ set -eux -o pipefail # the very first auto-commit doesn't have a DCO and the first real commit has a slightly different format. Exclude those when doing the check. # We erreneously allowed a non-signed commit to be pushed to main. # This is a temporary fix, and the commit hash should be changed to HEAD~20 once it is no longer an issue. -"$(go env GOPATH)/bin/git-validation" -run DCO -range 0a9fdda7b507b164d8cfa50c0a51367e9f0e2379..HEAD +"$(go env GOPATH)"/bin/git-validation -run DCO -range 0a9fdda7b507b164d8cfa50c0a51367e9f0e2379..HEAD diff --git a/scripts/check-ltag.sh b/scripts/check-ltag.sh index ed821e9fe..6072df430 100755 --- a/scripts/check-ltag.sh +++ b/scripts/check-ltag.sh @@ -22,4 +22,4 @@ SOCI_SNAPSHOTTER_PROJECT_ROOT="${CUR_DIR}/.." # check ltag pushd "${SOCI_SNAPSHOTTER_PROJECT_ROOT}" "$(go env GOPATH)"/bin/ltag -t "${SOCI_SNAPSHOTTER_PROJECT_ROOT}/.headers" -check -v || (echo "The files listed above are missing a licence header. Please run ./scripts/add-ltag.sh"; exit 1) -popd \ No newline at end of file +popd diff --git a/scripts/check-regression.sh b/scripts/check-regression.sh index 7034f5465..26375ef14 100755 --- a/scripts/check-regression.sh +++ b/scripts/check-regression.sh @@ -110,4 +110,4 @@ else fi # Set the final exit code to indicate if any regression occurred -exit $exit_code \ No newline at end of file +exit $exit_code diff --git a/scripts/visualization-data-converter.sh b/scripts/visualization-data-converter.sh index bdfd6cf7c..1e44f0056 100755 --- a/scripts/visualization-data-converter.sh +++ b/scripts/visualization-data-converter.sh @@ -83,4 +83,4 @@ for ((i = 0; i < tests; i++)); do # Create JSON file for each testName create_json_file "$testName" "$lazyTaskPct90" "$localTaskPct90" "$pullTaskPct90" -done \ No newline at end of file +done