Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add license to tooling/lints crate (#60468)
Bennet Bo Fennereeff97950f7c
diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.ymlindex 055279340ce..1b8f416baab 100644--- a/.github/workflows/run_tests.yml+++ b/.github/workflows/run_tests.yml@@ -75,7 +75,7 @@ jobs:# Map directory names to package namesFILE_CHANGED_PKGS=""for dir in $CHANGED_DIRS; do- pkg=$(echo "$DIR_TO_PKG" | grep "^${dir}=" | cut -d= -f2 | head -1)+ pkg=$(echo "$DIR_TO_PKG" | grep "^${dir}=" | cut -d= -f2 | head -1 || true)if [ -n "$pkg" ]; thenFILE_CHANGED_PKGS=$(printf '%s\n%s' "$FILE_CHANGED_PKGS" "$pkg")elsediff --git a/tooling/lints/LICENSE-APACHE b/tooling/lints/LICENSE-APACHEnew file mode 120000index 00000000000..1cd601d0a3a--- /dev/null+++ b/tooling/lints/LICENSE-APACHE@@ -0,0 +1 @@+../../LICENSE-APACHE\ No newline at end of filediff --git a/tooling/xtask/src/tasks/workflows/run_tests.rs b/tooling/xtask/src/tasks/workflows/run_tests.rsindex c745d0e3852..84dc6692392 100644--- a/tooling/xtask/src/tasks/workflows/run_tests.rs+++ b/tooling/xtask/src/tasks/workflows/run_tests.rs@@ -221,7 +221,7 @@ fn orchestrate_impl(rules: &[&PathCondition], target: OrchestrateTarget) -> Name# Map directory names to package namesFILE_CHANGED_PKGS=""for dir in $CHANGED_DIRS; do- pkg=$(echo "$DIR_TO_PKG" | grep "^${dir}=" | cut -d= -f2 | head -1)+ pkg=$(echo "$DIR_TO_PKG" | grep "^${dir}=" | cut -d= -f2 | head -1 || true)if [ -n "$pkg" ]; thenFILE_CHANGED_PKGS=$(printf '%s\n%s' "$FILE_CHANGED_PKGS" "$pkg")else