mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
(rubocop) Fix Style/ExpandPathArguments
This commit is contained in:
parent
d95c6946b8
commit
c7c8e48e2f
3 changed files with 3 additions and 3 deletions
2
Rakefile
2
Rakefile
|
|
@ -11,7 +11,7 @@ $stdout.sync = true
|
||||||
$stderr.sync = true
|
$stderr.sync = true
|
||||||
|
|
||||||
# Change to the directory of this file.
|
# Change to the directory of this file.
|
||||||
Dir.chdir(File.expand_path('../', __FILE__))
|
Dir.chdir(File.expand_path(__dir__))
|
||||||
|
|
||||||
# This installs the tasks that help with gem creation and
|
# This installs the tasks that help with gem creation and
|
||||||
# publishing.
|
# publishing.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
|
$LOAD_PATH.unshift(File.expand_path('../lib', __dir__))
|
||||||
|
|
||||||
require 'vmfloaty'
|
require 'vmfloaty'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
||||||
require 'vmfloaty/version'
|
require 'vmfloaty/version'
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue