ds300 / ds300/patch-package

File incorrectly detected as binary

Open
#232 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

Hi!

I have a js file that is incorrectly detected as binary, so it is producing an unhelpful patch file.

Is there any way I can force detection as a text file?

As a workaround I patch-packaged patch-package with this

```
var diffResult = git("diff", "--cached", "--no-color", "--ignore-space-at-eol", "--no-ext-diff", "--text");
```

Thanks!

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.