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.
realpath
1 parent 8707744 commit 5da74beCopy full SHA for 5da74be
base/loading.jl
@@ -117,7 +117,14 @@ end
117
118
const ns_dummy_uuid = UUID("fe0723d6-3a44-4c41-8065-ee0f42c8ceab")
119
120
-dummy_uuid(project_file::String) = uuid5(ns_dummy_uuid, realpath(project_file))
+function dummy_uuid(project_file::String)
121
+ project_path = try
122
+ realpath(project_file)
123
+ catch
124
+ project_file
125
+ end
126
+ return uuid5(ns_dummy_uuid, project_path)
127
+end
128
129
## package path slugs: turning UUID + SHA1 into a pair of 4-byte "slugs" ##
130
0 commit comments