Skip to content

Commit

Permalink
Update realpath.js should be ===
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMcLean authored Aug 29, 2024
1 parent e23dc8b commit 58ee84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspaces/arborist/lib/realpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const realpathCached = (path, rpcache, stcache, depth) => {
}

// if it's the root, then we know it's real
if (!base || dir == path) {
if (!base || dir === path) {
rpcache.set(dir, dir)
return Promise.resolve(dir)
}
Expand Down

0 comments on commit 58ee84a

Please sign in to comment.