percy-cli-ruby
percy-cli-ruby copied to clipboard
Passing regexes doesn't seem to work / aren't easy to use
percy snapshot build/
Creating build...
Uploading build resources...
etc...
Using the default regex from https://github.com/percy/percy-cli/blob/master/lib/percy/cli/snapshot.rb#L18 causes the following:
percy snapshot build/ --snapshots_regex "/\.(html|htm)$/"
No root resource files found. Are there HTML files in the given directory?
I'm actually trying to do something more complex, but this doesn't work. Passing unquoted also doesn't work.
p.s. hi @fotinakis
Hiii Russ! Agreed that regex flag is not great, but should work in this case—I think you may need to remove the trailing and leading /?