Exclude delete transformation from functions filter

This commit is contained in:
Elara 2022-06-02 18:27:41 -07:00
parent 8843e7faa9
commit acf262b4f0

View File

@ -3,4 +3,8 @@
require 'ruby2js' require 'ruby2js'
require 'ruby2js/filter/functions' require 'ruby2js/filter/functions'
puts Ruby2JS.convert(File.read('lrpc.rb'), eslevel: 2016) puts Ruby2JS.convert(
File.read('lrpc.rb'),
eslevel: 2016,
exclude: [:delete],
)