Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 5, 2021
1 parent d3b7b90 commit 5ae23bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import process from 'node:process';
import path from 'node:path';
import pathKey from 'path-key';

export function npmRunPath(options) {
export function npmRunPath(options = {}) {
const {
cwd = process.cwd(),
path: path_ = process.env[pathKey()],
Expand Down

0 comments on commit 5ae23bc

Please sign in to comment.