We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d22ac57 commit b61256cCopy full SHA for b61256c
1 file changed
scripts/dependency-integrity-check.sh
@@ -26,6 +26,10 @@ require_tool() {
26
fi
27
}
28
29
+normalize_path() {
30
+ printf '%s\n' "${1//\\//}"
31
+}
32
+
33
list_contains() {
34
local needle="$1"
35
shift
@@ -210,9 +214,9 @@ else
210
214
done
211
215
212
216
if [[ -z "$root" ]]; then
213
- printf '%s\n' "$unsafe_file" >>"$unsafe_files_without_manifest_file"
217
+ normalize_path "$unsafe_file" >>"$unsafe_files_without_manifest_file"
218
else
- printf '%s\n' "$root" >>"$actual_unsafe_roots_file"
219
+ normalize_path "$root" >>"$actual_unsafe_roots_file"
220
221
done < <(
222
rg -l '\bunsafe\b' \
0 commit comments