question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

skipBinary option should be true by default

See original GitHub issue

I ran into an issue where gulp-replace was trying to parse binary files in my project, which lead me to discover the skipBinary option. This is set to false, by default.

Why is a string replacement library trying to parse binary files, by default? I can’t think of a use case where this is a sensible default. It seems far more sane to have skipBinary be true by default and, if someone needs to parse binary files, they adjust that setting to false.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lazdcommented, Mar 8, 2017

@abdonrd then set skipBinary: true

0reactions
lazdcommented, May 16, 2018

1.0.0 released with skipBinary: true by default.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why doesn't grep ignore binary files by default?
-I Ignore binary files. This option is equivalent to --binary-file=without-match option. It also says this about binary files: --binary ...
Read more >
Investor Alert: Binary options and Fraud - SEC.gov
A binary option is a type of options contract in which the payout will depend entirely on the outcome of a yes/no proposition....
Read more >
Binary Options Fraud | Investor.gov
Investors should be aware of fraudulent promotion schemes involving binary options and binary options trading platforms.
Read more >
Builds - GoReleaser
Path }} # If true, skip the build. # Useful for library projects. # Default is false skip: false # By default, GoReleaser...
Read more >
16.1.6.4 Binary Logging Options and Variables
The default location for binary log files is the data directory. You can use the --log-bin option to specify an alternative location, by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found