Skip to content

Commit

Permalink
fix rm detector
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Kaplan authored and Elad Kaplan committed Jan 4, 2022
1 parent 0a39e4c commit 6745d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/fs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- from: fs
is: "rm.+(-r|-f|-rf|-fr) *"
is: rm.+(-r\b|-f\b|-rf\b|-fr\b) *
method: Regex
enable: true
description: "You are going to delete everything in the path."
Expand Down

0 comments on commit 6745d7e

Please sign in to comment.