Skip to content

Commit

Permalink
fixup! Refactor ProjectInfo defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Apr 10, 2020
1 parent 161d672 commit e12c7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/command/docs.cr
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Crystal::Command
setup_compiler_warning_options(opts, compiler)
end

project_info = ProjectInfo.new_with_defaults(project_name, project_version) do |name, version|
project_info = Doc::ProjectInfo.new_with_defaults(project_name, project_version) do |name, version|
unless name
STDERR.puts "Couldn't determine name from shard.yml, please provide --project-name option"
end
Expand Down

0 comments on commit e12c7ff

Please sign in to comment.