From bb07197583eaba385c1aa19b443b3230db6c668e Mon Sep 17 00:00:00 2001 From: cpelley Date: Mon, 11 Nov 2024 15:59:23 +0000 Subject: [PATCH] suggested review changes --- README.md | 2 +- copyright_check | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e48d00b42b..d69a1b4a70 100644 --- a/README.md +++ b/README.md @@ -48,4 +48,4 @@ OPTIONAL: A pre-commit hook can be added to facilitate the development of this c Ensure that you have python available on the path, then install the pre-commit hook by running `pre-commit install` from within your working copy. pre-commit checks will run against modified files when you commit from then on. -These pre-commit hooks will run as part of continuous integration to maintain standards in the project. \ No newline at end of file +These pre-commit hooks will run as part of continuous integration to maintain code quality standards in the project. \ No newline at end of file diff --git a/copyright_check b/copyright_check index 7b63877feb..69ce19f9d6 100755 --- a/copyright_check +++ b/copyright_check @@ -112,10 +112,10 @@ for filepath in $ARGS; do echo -e ${copyright_header} > ${tmp_file} cat ${filepath} >> ${tmp_file} fi - mv ${tmp_file} ${filepath} - found_error=1 - fi + mv ${tmp_file} ${filepath} + found_error=1 fi + fi done exit ${found_error}