Skip to content

Commit

Permalink
fix system_cmd typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinon committed May 6, 2022
1 parent 95a2a4b commit 1a17de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spoved/system_cmd.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "../spoved"
module Spoved::SystemCmd
# Will execute the provided command and return true/false if it fails.
# The command output will also be logged
def system_cmd?(command : String, args = nil, env : Process::Env = nil, clear_env : Bool = false, shell : Bool = false)
def system_cmd?(command : String, args : Array(String)? = nil, env : Process::Env = nil, clear_env : Bool = false, shell : Bool = true)
system_cmd(command, args, env, clear_env, shell)[:status]
end

Expand Down

0 comments on commit 1a17de7

Please sign in to comment.