Skip to content

Commit

Permalink
Remove redundant provided parameter internally
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen committed Oct 17, 2023
1 parent 2497ee6 commit b15db83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/unix.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ export function getShellName({ env, shell }, { resolveExecutable }) {
* @returns {boolean} `true` if the shell is supported, `false` otherwise.
*/
export function isShellSupported(shellName) {
return getEscapeFunction(shellName, {}) !== undefined;
return getEscapeFunction(shellName) !== undefined;
}
2 changes: 1 addition & 1 deletion src/win.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ export function getShellName({ env, shell }, { resolveExecutable }) {
* @returns {boolean} `true` if the shell is supported, `false` otherwise.
*/
export function isShellSupported(shellName) {
return getEscapeFunction(shellName, {}) !== undefined;
return getEscapeFunction(shellName) !== undefined;
}

0 comments on commit b15db83

Please sign in to comment.