diff --git a/middleman-core/bin/middleman b/middleman-core/bin/middleman index 440bbbb8..5b67ff9f 100755 --- a/middleman-core/bin/middleman +++ b/middleman-core/bin/middleman @@ -63,9 +63,8 @@ end # Start the CLI if ENV["MM_ROOT"] # Change directory to the root - Dir.chdir(ENV["MM_ROOT"]) do - Middleman::Cli::Base.start - end + Dir.chdir(ENV["MM_ROOT"]) + Middleman::Cli::Base.start else Middleman::Cli::Base.start -end \ No newline at end of file +end