Merge pull request #2254 from Rovanion/str

Removed duplicate of alias clojure.string in leiningen-core's project.clj
This commit is contained in:
Jean Niklas L'orange 2017-03-07 08:55:03 +01:00 committed by GitHub
commit 3d2b8faaf3

View file

@ -4,7 +4,6 @@
(:require [clojure.walk :as walk]
[clojure.java.io :as io]
[clojure.set :as set]
[clojure.string :as s]
[cemerick.pomegranate :as pomegranate]
[cemerick.pomegranate.aether :as aether]
[leiningen.core.utils :as utils]
@ -471,7 +470,7 @@
(let [n #(if (map? %) (subs (sha1 (pr-str %)) 0 8) (name %))]
(if (:target-path project)
(update-in project [:target-path] format
(s/join "+" (map n (remove #{:default :provided} profiles))))
(str/join "+" (map n (remove #{:default :provided} profiles))))
project)))
(defn target-path-subdirs [{:keys [target-path] :as project} key]