Skip to content

Commit

Permalink
Fix rubocop issues
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-mannino committed Nov 16, 2024
1 parent 33dc7e9 commit fe8509f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions bin/tapioca
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
# this file is here to facilitate running it.
#

ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)

bundle_binstub = File.expand_path("bundle", __dir__)
bundle_binstub = File.expand_path('bundle', __dir__)

if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end

require "rubygems"
require "bundler/setup"
require 'rubygems'
require 'bundler/setup'

load Gem.bin_path("tapioca", "tapioca")
load Gem.bin_path('tapioca', 'tapioca')
2 changes: 1 addition & 1 deletion spec/inexact_struct_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ class Baz < T::InexactStruct
end

def read_normalized(path)
File.read(path).gsub(/^\s*$/, "")
File.read(path).gsub(/^\s*$/, '')
end
end

0 comments on commit fe8509f

Please sign in to comment.