diff --git a/Objective-J/Executable.js b/Objective-J/Executable.js index 6f65764cd..1e7844392 100644 --- a/Objective-J/Executable.js +++ b/Objective-J/Executable.js @@ -399,6 +399,7 @@ function fileExecutableDependencyLoadFinished() Executable.prototype.referenceURL = function() { if (this._referenceURL === undefined) + // Removed the filename (if any) from the path to get the directory this._referenceURL = new CFURL(".", this.URL()); return this._referenceURL;