From 33da3decab6e7c42ad53e889ae22e46412c0bdc0 Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 24 Jun 2026 14:10:05 +0100 Subject: [PATCH] fix(ci): repair deno-lint guard (prior sed mangled 2>&1); clean find-based guard --- .github/workflows/rescript-deno-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rescript-deno-ci.yml b/.github/workflows/rescript-deno-ci.yml index a7d6e89..8d28fcc 100644 --- a/.github/workflows/rescript-deno-ci.yml +++ b/.github/workflows/rescript-deno-ci.yml @@ -21,7 +21,7 @@ jobs: deno-version: v1.x - name: Deno lint - run: 'if ls **/*.ts >/dev/null 2>run: deno lint1 || ls *.ts >/dev/null 2>run: deno lint1; then deno lint; else echo "no TS sources to lint"; fi' + run: if find . -name "*.ts" -not -path "./.git/*" | grep -q .; then deno lint; else echo "no TS sources to lint"; fi - name: Deno fmt check run: deno fmt --check