Commits

Meikel Brandmeyer committed 06d325c

Fix typo in ClojureSourceTask (thanks to Adam Murdoch)

Comments (0)

Files changed (1)

src/main/groovy/clojuresque/ClojureSourceTask.groovy

 
     /* Duplicate the functionality of ClojureSourceSet. */
     public ClojureCompileTask includeNamespace(String pattern) {
-        include(patter.replaceAll("-", "_").replaceAll("\\.", "/") + ".clj")
+        include(pattern.replaceAll("-", "_").replaceAll("\\.", "/") + ".clj")
         return this
     }
 
     public ClojureCompileTask excludeNamespace(String pattern) {
-        exclude(patter.replaceAll("-", "_").replaceAll("\\.", "/") + ".clj")
+        exclude(pattern.replaceAll("-", "_").replaceAll("\\.", "/") + ".clj")
         return this
     }
 }