Skip to content

Commit 14acd60

Browse files
committed
Fixed: run use correct crystal bianry name
1 parent 199bb72 commit 14acd60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sentry_cli.cr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ if shard_yml && (targets = shard_yml["targets"]?)
2727
end
2828
end
2929

30+
cli_config.run = "./#{cli_config.src_path[/\/(.*)\.cr/, 1]}"
31+
3032
OptionParser.parse do |parser|
3133
parser.banner = "Usage: ./sentry [options]"
3234
parser.on(

0 commit comments

Comments
 (0)