validate_execjs_engine.rb 288 B

12345
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. if Rails.env.development? && (ExecJS.runtime&.name != 'Node.js (V8)')
  3. raise "The CoffeeScript assets cannot be compiled with the installed JS runtime '#{ExecJS.runtime.name}'. Please use Node.js instead."
  4. end