bin/nephos-generator in nephos-server-0.7.1 vs bin/nephos-generator in nephos-server-0.7.2
- old
+ new
@@ -103,10 +103,10 @@
end
end
module Application
def self.create_application_dir dir
- raise BinError, "Directory #{dir} already exists" if Dir.exists? dir and dir != "."
+ raise BinError, "Directory #{dir} already exists" if Dir.exist? dir and dir != "."
Dir.mkdir dir
end
def self.move_to_application_dir dir
Dir.chdir dir