Skip to content

Commit a459238

Browse files
williamhyunHyukjinKwon
authored andcommitted
[MINOR][INFRA] Suppress warning in check-license
### What changes were proposed in this pull request? This PR aims to suppress the warning `File exists` in check-license ### Why are the changes needed? **BEFORE** ``` % dev/check-license Attempting to fetch rat RAT checks passed. % dev/check-license mkdir: target: File exists RAT checks passed. ``` **AFTER** ``` % dev/check-license Attempting to fetch rat RAT checks passed. % dev/check-license RAT checks passed. ``` ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manually do dev/check-license twice. Closes #30460 from williamhyun/checklicense. Authored-by: William Hyun <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
1 parent df4a1c2 commit a459238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/check-license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mkdir -p "$FWDIR"/lib
6767
exit 1
6868
}
6969

70-
mkdir target
70+
mkdir -p target
7171
$java_cmd -jar "$rat_jar" -E "$FWDIR"/dev/.rat-excludes -d "$FWDIR" > target/rat-results.txt
7272

7373
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)