File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 46344634 (var expect-image false )
46354635
46364636 (when-let [jp (getenv-alias " JANET_PATH" )]
4637- (def path-sep (if (index-of (os/which ) [:windows :mingw ]) " ;" " :" ))
4638- (def paths (reverse! (string/split path-sep jp )))
4639- (for i 1 (length paths )
4640- (module/add-syspath (get paths i )))
4641- (setdyn *syspath* (first paths )))
4637+ (unless (empty? jp )
4638+ (def path-sep (if (index-of (os/which ) [:windows :mingw ]) " ;" " :" ))
4639+ (def paths (reverse! (string/split path-sep jp )))
4640+ (for i 1 (length paths )
4641+ (module/add-syspath (get paths i )))
4642+ (setdyn *syspath* (first paths ))))
46424643 (if-let [jprofile (getenv-alias " JANET_PROFILE" )] (setdyn *profilepath* jprofile ))
46434644 (set colorize (and
46444645 (not (getenv-alias " NO_COLOR" ))
You can’t perform that action at this time.
0 commit comments