Skip to content
This repository has been archived by the owner. It is now read-only.

update the -D option on cli to return full original rule text #151

Merged
merged 1 commit into from Dec 12, 2018

Conversation

@pes10k
Copy link
Collaborator

pes10k commented Dec 12, 2018

Updated the check.js script to return the full, original rule text when the -D option is provided.

Required updating the lib/util.js methods to all accept an extra options param. Made an option so that future possible parse options could be included in the object, instead of a trailing line of arguments.

} else if (commander.dat) {
if (ruleDiscovery) {
console.log('Note, rule discovery is not supported when reading from DAT files')

This comment has been minimized.

Copy link
@bbondy

bbondy Dec 12, 2018

Member

nice catch, I was looking for this 👍

@bbondy
bbondy approved these changes Dec 12, 2018
@bbondy bbondy merged commit fb69449 into brave:master Dec 12, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.