Skip to content

Commit

Permalink
Merge pull request #2 from vpetro/master
Browse files Browse the repository at this point in the history
Fix full URL matching
  • Loading branch information
eed3si9n committed Nov 5, 2016
2 parents eabc6b0 + 5bed713 commit c744368
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 contains (".g8")
case GitUrl(uri) => uri.mkString("") endsWith (".g8")
case _ => false
}
}
Expand Down

0 comments on commit c744368

Please sign in to comment.