dthree / dthree/vorpal

Adding any function to Array prototype borks Vorpal

Open
#175 2 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.