Browse files

fix rename-to-js regex

  • Loading branch information...
1 parent 3db7710 commit d3e2d2c6b72081ba2173f35b9d6ce38603b9188a @Bronsa Bronsa committed with David Nolen Jun 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/cljs/compiler.clj
@@ -1602,7 +1602,7 @@
"Change the file extension from .cljs to .js. Takes a File or a
String. Always returns a String."
- (clojure.string/replace file-str #".cljs$" ".js"))
+ (clojure.string/replace file-str #"\.cljs$" ".js"))
(defn mkdirs
"Create all parent directories for the passed file."

0 comments on commit d3e2d2c

Please sign in to comment.