Skip to content

Commit

Permalink
Fixed VERSION constant when project dir has spaces (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBoyBarney authored May 4, 2024
1 parent ae26e07 commit a50f5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/main.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require "./binding_config"
require "./error"
require "./module_gen"

VERSION = {{ `shards version #{__DIR__}`.strip.stringify }}
VERSION = {{ `shards version "#{__DIR__}"`.strip.stringify }}

private def project_dir
exe_path = Process.executable_path
Expand Down

0 comments on commit a50f5ba

Please sign in to comment.