lib/grover.rb in grover-0.7.3 vs lib/grover.rb in grover-0.7.4
- old
+ new
@@ -21,10 +21,10 @@
#
class Processor < Schmooze::Base
dependencies puppeteer: 'puppeteer'
def self.launch_params
- ENV['CI'] == 'true' ? "{args: ['--no-sandbox', '--disable-setuid-sandbox']}" : '{}'
+ ENV['GROVER_NO_SANDBOX'] == 'true' ? "{args: ['--no-sandbox', '--disable-setuid-sandbox']}" : '{}'
end
method :convert_pdf, Utils.strip_heredoc(<<-FUNCTION)
async (url_or_html, options) => {
let browser;