Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay-Karia committed Aug 8, 2024
1 parent 19cd2b4 commit 03e1339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { executorCommands } from './utils'
/**
* Converts between npm and yarn command
*/
export default function convert(str: string, to: 'npm' | 'yarn' | 'pnpm' | 'bun', executor: boolean = false): string {
export default function convert(str: string, to: 'npm' | 'yarn' | 'pnpm' | 'bun', executor = false): string {
if (executor) {
return str.replace("npx", executorCommands[to])
} else if (to === 'npm') {
Expand Down

0 comments on commit 03e1339

Please sign in to comment.