You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing theme replace, the gem crashes.
The regex is not being interpreted as a regex.
lib/shopify_theme/cli.rb:144:in `=~': type mismatch: String given (TypeError)
from /usr/local/lib/ruby/gems/2.3.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:144:in `block (2 levels) in replace'
from /usr/local/lib/ruby/gems/2.3.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:144:in `any?'
from /usr/local/lib/ruby/gems/2.3.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:144:in `block in replace'
from /usr/local/lib/ruby/gems/2.3.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:143:in `each'
from /usr/local/lib/ruby/gems/2.3.0/gems/shopify_theme-0.0.25/lib/shopify_theme/cli.rb:143:in `replace'
from /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /usr/local/lib/ruby/gems/2.3.0/gems/shopify_theme-0.0.25/bin/theme:26:in `<top (required)>'
from /usr/local/bin/theme:23:in `load'
from /usr/local/bin/theme:23:in `<main>'
When executing
theme replace, the gem crashes.The regex is not being interpreted as a regex.