Adding any function to Array prototype borks Vorpal
Open
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 278
- PR merge metrics
- No merged PRs in 30d
Description
Many packages (unfortunately) do this:
``` js
Array.prototype.pewp = function() {
return 'pewp';
}
```
Which results in:
```
rebelmail-templates$ upload-images
Invalid option: 'function () {
return 'pewp';
}'. Showing Help: function () {
return 'pewp';
}
Usage: upload-images [options] [template]
Upload images to S3.
Options:
--help output usage information
-b, --bucket S3 bucket
-a, --acl S3 ACL
function () {
return 'pewp';
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.