Skip to content

Commit 453ef9f

Browse files
redsun82Copilot
andcommitted
Just: print the error prefix instead of the word for it
The prefix was written `{error}`, which is Python's spelling. just interpolates with `{{ }}`, so every internal-checkout failure said `{error}` where it meant a red `error:`. It is the only single-brace interpolation in any justfile here. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 34792a9 commit 453ef9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎misc/just/defs.just‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ default_db_checks := ['--check-databases', '--check-diff-informed', '--fail-on-t
6565
[no-exit-message]
6666
@_require_semmle_code:
6767
{{ if SEMMLE_CODE == "" { f'''
68-
echo "{error} running this recipe requires doing so from an internal repository checkout" >&2
68+
echo "{{ error }}running this recipe requires doing so from an internal repository checkout" >&2
6969
exit 1
7070
''' } else { "" } }}
7171

0 commit comments

Comments
 (0)