From f85ec381137c6838600b16c353ff9dba3a05452c Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Thu, 23 Dec 2021 10:44:44 -0500 Subject: standardrb --only Style/StringLiterals --fix --- bin/htmldiff | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/htmldiff b/bin/htmldiff index 14114a7..bcd89d2 100755 --- a/bin/htmldiff +++ b/bin/htmldiff @@ -1,11 +1,11 @@ #! /usr/bin/env ruby -w # frozen_string_literal: true -require 'diff/lcs' -require 'diff/lcs/htmldiff' +require "diff/lcs" +require "diff/lcs/htmldiff" begin - require 'text/format' + require "text/format" rescue LoadError Diff::LCS::HTMLDiff.can_expand_tabs = false end @@ -24,7 +24,7 @@ options = { :title => "diff #{ARGV[0]} #{ARGV[1]}" } htmldiff = Diff::LCS::HTMLDiff.new(left, right, options) if ARGV[2] - File.open(ARGV[2], 'w') do |f| + File.open(ARGV[2], "w") do |f| htmldiff.options[:output] = f htmldiff.run end -- cgit v1.2.1