From 4f72f90c813dd54b309f89aab6730fa9923e8a4f Mon Sep 17 00:00:00 2001 From: "hugues.verlin" Date: Thu, 12 Dec 2024 05:21:47 -0700 Subject: [PATCH] fix --- docs/tasks/toml-tasks.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/tasks/toml-tasks.md b/docs/tasks/toml-tasks.md index e716c4c7a4..b0d79f58b1 100644 --- a/docs/tasks/toml-tasks.md +++ b/docs/tasks/toml-tasks.md @@ -143,7 +143,11 @@ run = 'echo {{flag(name=("myflag")}}' ```toml [tasks.maybeClean] -run = """if [ '{{flag(name='clean')}}' = 'true' ]; then echo 'cleaning' ; fi""", +run = """ +if [ '{{flag(name='clean')}}' = 'true' ]; then + echo 'cleaning' +fi +""" # execute: mise run maybeClean --clean # runs: echo cleaning ``` @@ -170,7 +174,7 @@ deno = 'latest' [tasks.download_task] description = "Shows that you can use deno in a task" -shell = 'deno eval' +shell = 'deno eval' # or use a shebang: #!/usr/bin/env -S deno run run = """ import ProgressBar from "jsr:@deno-library/progress"; import { delay } from "jsr:@std/async";