diff --git a/middleman-core/lib/middleman-core/cli/build.rb b/middleman-core/lib/middleman-core/cli/build.rb index c2fe9921..9a1db425 100644 --- a/middleman-core/lib/middleman-core/cli/build.rb +++ b/middleman-core/lib/middleman-core/cli/build.rb @@ -35,7 +35,7 @@ module Middleman::Cli # @return [void] def build if !ENV["MM_ROOT"] - raise Thor::Error "Error: Could not find a Middleman project config, perhaps you are in the wrong folder?" + raise Thor::Error, "Error: Could not find a Middleman project config, perhaps you are in the wrong folder?" end self.class.shared_instance(options["verbose"] || false)