We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
~
/
$
1 parent 0eed1ab commit edcdf6eCopy full SHA for edcdf6e
src/nvd/task/check.clj
@@ -41,7 +41,7 @@
41
(re-pattern (str File/pathSeparatorChar)))
42
43
(defn absolute-path ^String [file]
44
- (s/replace-first file #"^~" (System/getProperty "user.home")))
+ (s/replace-first file #"^~(?=$|/)" (System/getProperty "user.home")))
45
46
(defn parse-classpath
47
"Accepts a classpath string (i.e. colon-separated paths) and returns a sequence of analyzable
0 commit comments