Sync msft 24 7 25 - #760
reviewdog [shellcheck] report
reported by reviewdog 🐶
Findings (13)
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|14 col 4| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|18 col 6| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|22 col 31| Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|28 col 18| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|28 col 142| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|29 col 8| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|34 col 8| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|34 col 61| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|36 col 45| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|37 col 10| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|41 col 49| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|43 col 17| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|45 col 8| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
Filtered Findings (0)
Annotations
Check notice on line 14 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L14 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:14:4: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 18 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L18 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:18:6: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 22 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L22 <ShellCheck.SC2002>
Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:22:31: info: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. (ShellCheck.SC2002)
Check notice on line 28 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L28 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:28:18: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 28 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L28 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:28:142: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 29 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L29 <ShellCheck.SC2181>
Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:29:8: info: Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (ShellCheck.SC2181)
Check notice on line 34 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L34 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:34:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 34 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L34 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:34:61: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 36 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L36 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:36:45: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 37 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L37 <ShellCheck.SC2181>
Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:37:10: info: Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (ShellCheck.SC2181)
Check notice on line 41 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L41 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:41:49: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 43 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L43 <ShellCheck.SC2086>
Double quote to prevent globbing and word splitting.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:43:17: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
Check notice on line 45 in csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh
github-actions / shellcheck
[shellcheck] csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh#L45 <ShellCheck.SC2181>
Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
Raw output
./csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh:45:8: info: Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. (ShellCheck.SC2181)