From f1cfdbf762663dd37e23701eb9f84ece491dadc7 Mon Sep 17 00:00:00 2001 From: Lilith Hafner Date: Mon, 16 Oct 2023 11:13:50 -0500 Subject: [PATCH] add do -i --- .github/workflows/SpellCheck.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index f6293c6a8cbd0..c4dd32c023567 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -35,11 +35,11 @@ jobs: echo a NEW_FILES=$(git diff-index --name-only --diff-filter=d FETCH_HEAD) echo b - NEW_TYPOS=$(echo -n $NEW_FILES | xargs "${{ runner.temp }}/typos/typos" --format json) + do -i {NEW_TYPOS=$(echo -n $NEW_FILES | xargs "${{ runner.temp }}/typos/typos" --format json)} echo c git checkout FETCH_HEAD -- $OLD_FILES echo d - OLD_TYPOS=$(echo -n $OLD_FILES | xargs "${{ runner.temp }}/typos/typos" --format json) + do -i {OLD_TYPOS=$(echo -n $OLD_FILES | xargs "${{ runner.temp }}/typos/typos" --format json)} echo e python -c ' import sys, json