function cov_1pcf6xlmv2(){var path="/Users/ruyadorno/Documents/workspace/cli/main/packages/libnpmdiff/lib/should-print-patch.js";var hash="4545379052c223f83a6c60ff4aa4e6fce7f47aae";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/Users/ruyadorno/Documents/workspace/cli/main/packages/libnpmdiff/lib/should-print-patch.js",statementMap:{"0":{start:{line:1,column:30},end:{line:1,column:45}},"1":{start:{line:3,column:25},end:{line:3,column:53}},"2":{start:{line:7,column:25},end:{line:19,column:1}},"3":{start:{line:8,column:2},end:{line:9,column:15}},"4":{start:{line:9,column:4},end:{line:9,column:15}},"5":{start:{line:11,column:19},end:{line:11,column:33}},"6":{start:{line:12,column:20},end:{line:16,column:13}},"7":{start:{line:18,column:2},end:{line:18,column:46}},"8":{start:{line:21,column:0},end:{line:21,column:33}}},fnMap:{"0":{name:"(anonymous_0)",decl:{start:{line:7,column:25},end:{line:7,column:26}},loc:{start:{line:7,column:46},end:{line:19,column:1}},line:7}},branchMap:{"0":{loc:{start:{line:7,column:32},end:{line:7,column:41}},type:"default-arg",locations:[{start:{line:7,column:39},end:{line:7,column:41}}],line:7},"1":{loc:{start:{line:8,column:2},end:{line:9,column:15}},type:"if",locations:[{start:{line:8,column:2},end:{line:9,column:15}},{start:{line:8,column:2},end:{line:9,column:15}}],line:8},"2":{loc:{start:{line:13,column:4},end:{line:15,column:25}},type:"cond-expr",locations:[{start:{line:14,column:8},end:{line:14,column:16}},{start:{line:15,column:8},end:{line:15,column:25}}],line:13}},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0},f:{"0":0},b:{"0":[0],"1":[0,0],"2":[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"4545379052c223f83a6c60ff4aa4e6fce7f47aae"};var coverage=global[gcv]||(global[gcv]={});if(!coverage[path]||coverage[path].hash!==hash){coverage[path]=coverageData;}var actualCoverage=coverage[path];{// @ts-ignore
cov_1pcf6xlmv2=function(){return actualCoverage;};}return actualCoverage;}cov_1pcf6xlmv2();const{basename,extname}=(cov_1pcf6xlmv2().s[0]++,require('path'));const binaryExtensions=(cov_1pcf6xlmv2().s[1]++,require('binary-extensions'));// we should try to print patches as long as the
// extension is not identified as binary files
cov_1pcf6xlmv2().s[2]++;const shouldPrintPatch=(path,opts=(cov_1pcf6xlmv2().b[0][0]++,{}))=>{cov_1pcf6xlmv2().f[0]++;cov_1pcf6xlmv2().s[3]++;if(opts.diffText){cov_1pcf6xlmv2().b[1][0]++;cov_1pcf6xlmv2().s[4]++;return true;}else{cov_1pcf6xlmv2().b[1][1]++;}const filename=(cov_1pcf6xlmv2().s[5]++,basename(path));const extension=(cov_1pcf6xlmv2().s[6]++,(filename.startsWith('.')?(cov_1pcf6xlmv2().b[2][0]++,filename):(cov_1pcf6xlmv2().b[2][1]++,extname(filename))).substr(1));cov_1pcf6xlmv2().s[7]++;return!binaryExtensions.includes(extension);};cov_1pcf6xlmv2().s[8]++;module.exports=shouldPrintPatch;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNob3VsZC1wcmludC1wYXRjaC5qcyJdLCJuYW1lcyI6WyJiYXNlbmFtZSIsImV4dG5hbWUiLCJyZXF1aXJlIiwiYmluYXJ5RXh0ZW5zaW9ucyIsInNob3VsZFByaW50UGF0Y2giLCJwYXRoIiwib3B0cyIsImRpZmZUZXh0IiwiZmlsZW5hbWUiLCJleHRlbnNpb24iLCJzdGFydHNXaXRoIiwic3Vic3RyIiwiaW5jbHVkZXMiLCJtb2R1bGUiLCJleHBvcnRzIl0sIm1hcHBpbmdzIjoidTREQWVZOzJGQWZaLEtBQU0sQ0FBRUEsUUFBRixDQUFZQyxPQUFaLDJCQUF3QkMsT0FBTyxDQUFDLE1BQUQsQ0FBL0IsQ0FBTixDQUVBLEtBQU1DLENBQUFBLGdCQUFnQiwwQkFBR0QsT0FBTyxDQUFDLG1CQUFELENBQVYsQ0FB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