mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Use top-level warn
in JS errors check (#28745)
This commit is contained in:
parent
7f471e70c0
commit
b4c332104a
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ RSpec.configure do |config|
|
||||||
expect(error.level).to_not eq('SEVERE'), error.message
|
expect(error.level).to_not eq('SEVERE'), error.message
|
||||||
next unless error.level == 'WARNING'
|
next unless error.level == 'WARNING'
|
||||||
|
|
||||||
$stderr.warn 'WARN: javascript warning'
|
warn 'WARN: javascript warning'
|
||||||
$stderr.warn error.message
|
warn error.message
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue