Skip to content

Commit

Permalink
Make sure we don't evaluate regex in bootstrap
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
rgrinberg committed Nov 28, 2018
1 parent c1efa8c commit 25075c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/boot/dune_re.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
type t = unit
type re = unit
let compile () = ()
let execp _ _ = false
let execp _ _ = failwith "evaluating regex in bootstrap is not allowed"
let str _ = ()
let empty = ()
let seq _ = ()
Expand Down

0 comments on commit 25075c5

Please sign in to comment.