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 eec5b17 commit 2376abcCopy full SHA for 2376abc
src/harness/vfs.ts
@@ -911,7 +911,7 @@ namespace vfs {
911
if (this.stringComparer(vpath.dirname(path), path) === 0) {
912
throw new TypeError("Roots cannot be symbolic links.");
913
}
914
- this.symlinkSync(this._resolve(entry.symlink), path);
+ this.symlinkSync(vpath.resolve(dirname, entry.symlink), path);
915
this._applyFileExtendedOptions(path, entry);
916
917
else if (entry instanceof Link) {
0 commit comments