         (npm/with-json-file file content project
                             (apply invoke project sources))))
     (catch Throwable t
-      (println
-       (joine (str "Can't execute JSLint: " (.getMessage t))
-              "Something is wrong:"
-              " - installation: npm install jslint -g"
-              " - configuration: https://github.com/vbauer/lein-jslint"))
+      (error t)
       (main/abort))))

            [org.satta.glob :as glob]
            [clojure.java.io :as io]
            [clojure.string :as string]))

; Internal API: Common


    (spit content)
    (.deleteOnExit)))

(defn- error [ex]
  (println
   (string/join "\r\n"
                (str "Can't execute JSLint: " (.getMessage ex))
                "Something is wrong:"
                " - installation: npm install jslint -g"
                " - configuration: https://github.com/vbauer/lein-jslint")))


; Internal API: Configuration
