Skip to content

Commit 5ae23bc

Browse files
committed
Fix a typo
1 parent d3b7b90 commit 5ae23bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import process from 'node:process';
22
import path from 'node:path';
33
import pathKey from 'path-key';
44

5-
export function npmRunPath(options) {
5+
export function npmRunPath(options = {}) {
66
const {
77
cwd = process.cwd(),
88
path: path_ = process.env[pathKey()],

0 commit comments

Comments
 (0)