Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
depau committed Nov 14, 2024
1 parent a021727 commit e0b7828
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ function translateHostPath(hostPath) {
if (hostPath.startsWith('/mnt/wsl/')) {
return hostPath;
}

if (!hostPath.contains('/') && !hostPath.contains('\\')) {
if (!hostPath.includes('/') && !hostPath.includes('\\')) {
// Named volume
return hostPath;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "podman-wsl-service",
"version": "1.2.0",
"version": "1.2.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e0b7828

Please sign in to comment.