Skip to content

Commit

Permalink
Support Process changes in 0.24 (fixes #166)
Browse files Browse the repository at this point in the history
This should be merged once we release 0.24 (and it depends on minitest.cr: ysbaddaden/minitest.cr#22)
  • Loading branch information
Martin Verzilli committed Aug 23, 2017
1 parent 28a6619 commit 0ff21bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolvers/git.cr
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ module Shards
Dir.cd(path) do
Shards.logger.debug command

output = capture ? IO::Memory.new : false
output = capture ? IO::Memory.new : Process::Redirect::Close
error = IO::Memory.new
status = Process.run("/bin/sh", input: IO::Memory.new(command), output: output, error: error)

Expand Down

0 comments on commit 0ff21bf

Please sign in to comment.