Skip to content

Commit

Permalink
Fix pattern match for GitUrl (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetro authored and dwijnand committed Nov 8, 2016
1 parent 2b12ba2 commit c031643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/sbt/Giter8TemplateResolver.scala
Expand Up @@ -23,7 +23,7 @@ class Giter8TemplateResolver extends TemplateResolver {
args.headOption match {
case Some(Github(_, _)) => true
case Some(Local(_)) => true
case GitUrl(uri) => uri.mkString("") endsWith (".g8")
case Some(GitUrl(uri)) => uri.mkString("") endsWith (".g8")
case _ => false
}
}
Expand Down

0 comments on commit c031643

Please sign in to comment.