Skip to content

Commit 68db04a

Browse files
committed
Fix completion issue for pnp packages
1 parent 781b5de commit 68db04a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pnp/pnpapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ func (p *PnpApi) GetPackageLocationAbsolutePath(packageInfo *PackageInfo) string
347347
}
348348

349349
packageLocation := packageInfo.PackageLocation
350-
return tspath.ResolvePath(p.manifest.dirPath, packageLocation)
350+
return tspath.RemoveTrailingDirectorySeparators(tspath.ResolvePath(p.manifest.dirPath, packageLocation))
351351
}
352352

353353
// Checks if fromFileName and toFileName are in different pnp modules

0 commit comments

Comments
 (0)