Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update argument name for meow dependency #6

Closed
Seeker285 opened this issue Feb 8, 2024 · 1 comment
Closed

Update argument name for meow dependency #6

Seeker285 opened this issue Feb 8, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Seeker285
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @wdio/[email protected] for the project I'm working on.

The dependency "meow" is throwing the following error:

Error: The option `alias` has been renamed to `shortFlag`. The following flags need to be updated: `--output`

Here is the diff that solved my problem:

diff --git a/node_modules/@wdio/chrome-recorder/dist/cli/index.js b/node_modules/@wdio/chrome-recorder/dist/cli/index.js
index 08484db..5e2999b 100644
--- a/node_modules/@wdio/chrome-recorder/dist/cli/index.js
+++ b/node_modules/@wdio/chrome-recorder/dist/cli/index.js
@@ -27,7 +27,7 @@ const cli = meow(`
         },
         output: {
             type: 'string',
-            alias: 'o',
+            shortFlag: 'o',
         },
     },
 });

This issue body was partially generated by patch-package.

@christian-bromann christian-bromann added the help wanted Extra attention is needed label Feb 8, 2024
@christian-bromann
Copy link
Member

Thanks for reporting!

Any contributions that resolves the bug are highly appreciated. Please take a look into our contribution guidelines and let us know if you have any questions. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants