Skip to content

Commit 40166a1

Browse files
committed
fix: cherry-pick
1 parent d0c57f6 commit 40166a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tools/cherry-pick.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const isFile = (path: string) =>
3333
.catch(() => false);
3434

3535
const withDefaults = ({ cwd = ".", ...options }: Option, additionalDefaults: { cjsDir?: string; esmDir?: string } = {}): Option => ({
36-
cwd: path.resolve(process.cwd(), cwd),
36+
cwd: path.join(process.cwd(), cwd),
3737
...additionalDefaults,
3838
...options,
3939
});

0 commit comments

Comments
 (0)