Skip to content

Commit 9012dfe

Browse files
committed
check path contain space
1 parent 868de45 commit 9012dfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/ci/check_validate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export PYTHONPATH=${GRAPH_NET_EXTRACT_WORKSPACE}:$PYTHONPATH
1515

1616
function check_paths_without_spaces() {
1717
LOG "[INFO] Checking for spaces in modified file paths..."
18+
git config --global --add safe.directory "*"
1819
mapfile -t MODIFIED_FILES < <(git diff --name-only develop | grep -E "\bsamples\b/|\bpaddle_samples\b/")
1920

2021
for file in "${MODIFIED_FILES[@]}"; do

0 commit comments

Comments
 (0)