Unverified Commit 705cb061 authored by Mayur's avatar Mayur Committed by GitHub

fix(scripts): correct typo in rm.mjs error message (#87015)

This pull request makes a minor correction to the error message in
`scripts/rm.mjs` to fix a typo.

* The error message now correctly reads "requires at least one
parameter" instead of "requires a least one parameter".
Co-authored-by: 's avatarMarcos Hernanz <96699542+marcoshernanz@users.noreply.github.com>
parent f70564f7
...@@ -4,7 +4,7 @@ import { join } from 'path' ...@@ -4,7 +4,7 @@ import { join } from 'path'
const args = process.argv.slice(2) const args = process.argv.slice(2)
if (args.length === 0) { if (args.length === 0) {
throw new Error('rm.mjs: requires a least one parameter') throw new Error('rm.mjs: requires at least one parameter')
} }
for (const arg of args) { for (const arg of args) {
const path = join(process.cwd(), arg) const path = join(process.cwd(), arg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment