Skip to content

Commit

Permalink
fix negative
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Oct 11, 2023
1 parent 7a07d08 commit 62d7d62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/io/projectdiscovery/nuclei/model/Word.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@
import java.util.Optional;

@SuppressWarnings("unused")
@YamlPropertyOrder({"type", "part", "condition", "words"})
@YamlPropertyOrder({"type", "negative", "part", "condition", "words"})
public class Word implements TemplateMatcher {

@YamlProperty
private final String type = Word.class.getSimpleName().toLowerCase();

@YamlProperty
private final Boolean negative = false;

@YamlProperty
private Part part = Part.all;

Expand Down

0 comments on commit 62d7d62

Please sign in to comment.