diff --git a/src/compiler/crystal/command/docs.cr b/src/compiler/crystal/command/docs.cr index 19e7fedf768b..c8f044bc81cd 100644 --- a/src/compiler/crystal/command/docs.cr +++ b/src/compiler/crystal/command/docs.cr @@ -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