Skip to content

Commit

Permalink
Resolve File(".") to an absolute file upfront, to prevent issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Cunei committed Mar 27, 2017
1 parent 57879c7 commit ebe5beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/scala/giter8.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Giter8 extends xsbti.AppMain {
})
}

def run(args: Array[String]):Int = run(args, new File("."))
def run(args: Array[String]):Int = run(args, (new File(".")).getAbsoluteFile)

val parser = new scopt.OptionParser[Config]("giter8") {
head("g8", giter8.BuildInfo.version)
Expand Down

0 comments on commit ebe5beb

Please sign in to comment.