Skip to content

Commit

Permalink
chore(pnpify): fix typo in comment in tsserver SDK (#2901)
Browse files Browse the repository at this point in the history
* Type 1

* Typo 2

* chore: versions

Co-authored-by: merceyz <[email protected]>
  • Loading branch information
stylemistake and merceyz authored May 28, 2021
1 parent a01852b commit e53036a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const moduleWrapper = tsserver => {
// We add the `zip:` prefix to both `.zip/` paths and virtual paths
if (isAbsolute(str) && !str.match(/^\^zip:/) && (str.match(/\.zip\//) || isVirtual(str))) {
// We also take the opportunity to turn virtual paths into physical ones;
// this makes is much easier to work with workspaces that list peer
// this makes it much easier to work with workspaces that list peer
// dependencies, since otherwise Ctrl+Click would bring us to the virtual
// file instances instead of the real ones.
//
Expand Down
2 changes: 2 additions & 0 deletions .yarn/versions/97037a6a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declined:
- "@yarnpkg/pnpify"
2 changes: 1 addition & 1 deletion packages/yarnpkg-pnpify/sources/sdks/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const generateTypescriptBaseWrapper: GenerateBaseWrapper = async (pnpApi:
// We add the \`zip:\` prefix to both \`.zip/\` paths and virtual paths
if (isAbsolute(str) && !str.match(/^\\^zip:/) && (str.match(/\\.zip\\//) || isVirtual(str))) {
// We also take the opportunity to turn virtual paths into physical ones;
// this makes is much easier to work with workspaces that list peer
// this makes it much easier to work with workspaces that list peer
// dependencies, since otherwise Ctrl+Click would bring us to the virtual
// file instances instead of the real ones.
//
Expand Down

0 comments on commit e53036a

Please sign in to comment.