Skip to content

Commit

Permalink
0-10-stable: [snapshot]
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jun 7, 2018
1 parent 4f3b438 commit c775d82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Expand Up @@ -12,33 +12,33 @@ matrix:
fast_finish: true

include:
- rvm: 2.3.3
- rvm: 2.3.7
env: RUN=jshint SUITE=core

- rvm: 2.3.3
- rvm: 2.3.7
env: RUN=jshint SUITE=stdlib

- rvm: 2.3.3
- rvm: 2.3.7
nvm: "0.10"
env: RUN=mspec_opal_nodejs

- rvm: 2.3.3
- rvm: 2.3.7
nvm: "0.10"
env: RUN=mspec_ruby_nodejs TZ="/usr/share/zoneinfo/Pacific/Fiji"

- rvm: 2.3.3
- rvm: 2.3.7
env: RUN=mspec_ruby_sprockets_phantomjs

- rvm: 2.3.3
- rvm: 2.3.7
env: RUN=minitest

- rvm: 2.3.3
- rvm: 2.3.7
env: RUN=rspec RACK_VERSION='~> 2.0.0' CHECK_COVERAGE=true

- rvm: ruby-head
env: RUN=rspec

- rvm: 2.2.6
- rvm: 2.2.10
env: RUN=rspec TILT_VERSION=2.0.1 SPROCKETS_VERSION='~> 3.7'

- rvm: 2.1.10
Expand Down
4 changes: 2 additions & 2 deletions lib/opal/nodes/literal.rb
Expand Up @@ -72,8 +72,8 @@ class RegexpNode < Base
children :value, :flags

def compile
old_flags = flags
flags = flags.gsub(/[^imuy]/, '') if old_flags
old_flags = self.flags
flags = old_flags.gsub(/[^imuy]/, '') if old_flags

if old_flags != flags
warn "invalid js flags found #{old_flags.inspect}, replaced with #{flags.inspect}"
Expand Down

0 comments on commit c775d82

Please sign in to comment.