Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed May 9, 2017
1 parent 602dc5a commit 9a127cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,11 @@ end
function source_dir()
isinteractive() && return pwd()
p = source_path(nothing)
p === nothing ? p : dirname(p)
if p === nothing
isinteractive() ? pwd() : p
else
dirname(p)
end
end

"""
Expand Down

0 comments on commit 9a127cf

Please sign in to comment.