- Issue created by @joachim
If you mess up the regex you get a lot of warnings on the command line but tome:static keeps on going. Instead it should stop:
// Running the regex against an empty string should return 0 if the regex is valid, will return FALSE if there is an error.
// Silence the warning since we're handling this ourselves.
if (@preg_match($options['path-pattern'], '') === FALSE) {
// I can't remember how we halt a Drush command with an error
Active
1.0
Code