File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -179,20 +179,20 @@ export def restart [
179179#
180180# A paused group won't start any new tasks automatically.
181181export def pause [
182- ... ids : int # IDs of the tasks to pause.
183- -- group (- g ) # Pause a specific group
184- -- all (- a ) # Pause all groups.
185- -- wait (- w ) # Only pause the specified group and let already running tasks finish by themselves
182+ ... ids : int # IDs of the tasks to pause.
183+ -- group (- g ): string # Pause a specific group
184+ -- all (- a ) # Pause all groups.
185+ -- wait (- w ) # Only pause the specified group and let already running tasks finish by themselves
186186] {
187187 mut args = []
188188
189189 if $group != null {
190- $args = ($args | prepend " --group" )
190+ $args = ($args | prepend [ " --group" $group ] )
191191 }
192- if $all != null {
192+ if $all {
193193 $args = ($args | prepend " --all" )
194194 }
195- if $wait != null {
195+ if $wait {
196196 $args = ($args | prepend " --wait" )
197197 }
198198
You can’t perform that action at this time.
0 commit comments