After upgrading to version 1.0.6
, chmod-cli
throws this error:
$ chmod-cli --mode 0o775 foo
file:///C:/Users/xxxx/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/meow/build/options.js:52
throw new Error(errorMessages.join('\n'));
^
Error: The option `alias` has been renamed to `shortFlag`. The following flags need to be updated: `--mode`
at validateOptions (file:///C:/Users/xxxx/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/meow/build/options.js:52:9)
at buildOptions (file:///C:/Users/xxxx/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/meow/build/options.js:87:2)
at meow (file:///C:/Users/xxxx/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/meow/build/index.js:86:24)
at file:///C:/Users/xxxx/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/chmod-cli/cli.js:5:13
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)
Node.js v20.9.0
Everything works OK on 1.0.5
, so I would assume the problem is caused by the upgrade of meow
to version 12
in 1.0.6
.