Skip to content

Commit

Permalink
fix: return type
Browse files Browse the repository at this point in the history
  • Loading branch information
vobu committed Jul 19, 2023
1 parent 100c6ff commit 42f5f08
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 @@ -155,7 +155,7 @@ function _installDevDependencies(deps: string[]): void {
execSync(cmd, { stdio: "inherit" })
}

function _addWdi5Script(fileName: string, ts: boolean = false): string {
function _addWdi5Script(fileName: string, ts: boolean = false): void {
const builder = {
npm: (f: string) => `npm pkg set scripts.wdi5="wdio run ${f}${ts ? appendTsNodeOpts() : ""}"`,
// pnpm doesn't support the pgk command. we have to rely on a remote package to add scripts to package.json
Expand Down

0 comments on commit 42f5f08

Please sign in to comment.