We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceba02f commit 43214ccCopy full SHA for 43214cc
1 file changed
check-runtime-editor-refs.sh
@@ -1,4 +1,5 @@
1
-#!/usr/bin/env bash
+#!/bin/bash
2
+
3
set -euo pipefail
4
5
RUNTIME_DIR="Packages/com.unity.inputsystem/InputSystem/Runtime"
@@ -11,9 +12,9 @@ FORBIDDEN_REGEX=(
11
12
'\bUnityEngine\.InputSystem\.Editor(\.[A-Za-z0-9_]+)*\b'
13
)
14
-RED='\033[0;31m'
15
-GREEN='\033[0;32m'
16
-NC='\033[0m'
+RED=$'\033[0;31m'
+GREEN=$'\033[0;32m'
17
+NC=$'\033[0m'
18
19
command -v rg >/dev/null 2>&1 || { echo "ERROR: ripgrep (rg) is not installed. See https://github.com/BurntSushi/ripgrep#installation" >&2; exit 1; }
20
0 commit comments