Skip to content

Commit 69ed6e7

Browse files
ci(action): Removing unused comment and return. Clarifying variables
1 parent 8b125aa commit 69ed6e7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ info "Test #02: Run validate MCID"
3939
function validateFile {
4040
FILE=$1
4141
COUNT=$2
42-
# EXIT_STATUS=0
4342

4443
# Run Java program and capture outputs
45-
stdout=$(mktemp) # temporary file for stdout
46-
stderr=$(mktemp) # temporary file for stderr
44+
stdout=$(mktemp) # temporary file for standart output
45+
stderr=$(mktemp) # temporary file for error output
4746

4847
# Run the program, redirecting streams
4948
java -jar target/net.pdfix.validate-pdf-*.jar duplicate-mcid -i "$FILE" >"$stdout" 2>"$stderr"
@@ -68,7 +67,6 @@ function validateFile {
6867

6968
# Clean up temporary files
7069
rm "$stdout" "$stderr"
71-
return $EXIT_STATUS
7270
}
7371

7472
validateFile "resources/test.pdf" 1

0 commit comments

Comments
 (0)