Skip to content

Commit

Permalink
filters: rename raw option to binary
Browse files Browse the repository at this point in the history
Much more descriptive.
  • Loading branch information
matheusmoreira committed Aug 31, 2023
1 parent 6ef1e3c commit c48990a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/filters/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function applyFilters(ast, filters, options, filterAliases) {

function filterFile(filter, filename, file, attrs) {
let resolved = resolveFilter(filter, filters, filterAliases);
let input = resolved.raw? file.raw : file.str;
let input = resolved.binary? file.raw : file.str;
return resolved.filter(input, attrs);
}
},
Expand Down

0 comments on commit c48990a

Please sign in to comment.