Skip to content

Commit 0bbeef2

Browse files
crystal tool format with Crystal 1.15.0-dev (#647)
1 parent 82db529 commit 0bbeef2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/integration/subcommand_spec.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe "subcommand" do
3232
end
3333
end
3434

35-
private def with_path(path)
35+
private def with_path(path, &)
3636
old_path = ENV["PATH"]
3737
ENV["PATH"] = "#{File.expand_path(path)}#{Process::PATH_DELIMITER}#{ENV["PATH"]}"
3838
yield

src/package.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module Shards
139139
end
140140
end
141141

142-
private def each_executable_path(name)
142+
private def each_executable_path(name, &)
143143
exe = Shards::Helpers.exe(name)
144144
yield Path["bin", exe]
145145
yield Path["bin", name] unless name == exe

0 commit comments

Comments
 (0)