-
Notifications
You must be signed in to change notification settings - Fork 34
tail: invalid option -1 #48
Copy link
Copy link
Open
Description
I'm facing this issue which is apparently triggered by this line of package-build-stats:
| `$(npm pack --ignore-scripts ${packagePath} | tail -1)` |
The error message ("tail: invalid option -- 1") is not very helpful.
I have tried to create a minimal reproduction case but failed so far, also because I don't fully understand the purpose of that line of code (that is the
wrapCommand function).What are you using
tail for?And would you consider adding an error handler there and printing the
packagePath if an error occurs?That would have helped me greatly in creating a minimal reproduction case.
System info:
Windows 10
node v16.13.1 (LTS)
npm v8.3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels