diff --git a/src/commands/command.cr b/src/commands/command.cr index ff78c524..e4d587f1 100644 --- a/src/commands/command.cr +++ b/src/commands/command.cr @@ -12,7 +12,7 @@ module Shards @spec : Spec? @locks : Array(Dependency)? - def initialize(path, @sub = nil) + def initialize(path) if File.directory?(path) @path = path @spec_path = File.join(path, SPEC_FILENAME)