lib/hotplate/cli/idea.rb in hotplate-1.0.2 vs lib/hotplate/cli/idea.rb in hotplate-1.0.3

- old
+ new

@@ -1,9 +1,9 @@ if File.exist? "#{dir}/build.gradle" if os == :windows - system("(cd #{dir} && gradlew idea)") + system("(cd \"#{dir}\" && gradlew idea)") else - system("(cd #{dir} && ./gradlew idea)") + system("(cd \"#{dir}\" && ./gradlew idea)") end else puts "Not a Java Project!" end