Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-06-14 11:03:06 -04:00
parent aa81012013
commit c257763de6
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ module Fetchers
else
Inspec::Log.debug("Checkout of #{resolved_ref} successful. " \
"Moving checkout to #{dir}")
FileUtils.cp_r(tmpdir + '/.', dir)
FileUtils.cp_r(tmpdir + "/.", dir)
end
end
end

View file

@ -68,8 +68,8 @@ describe "example inheritance profile" do
end
end
it 'can vendor profile dependencies from git' do
git_depends_path = File.join(profile_path, 'git-fetcher', 'basic')
it "can vendor profile dependencies from git" do
git_depends_path = File.join(profile_path, "git-fetcher", "basic")
Dir.mktmpdir do |tmpdir|
FileUtils.cp_r(git_depends_path + "/.", tmpdir)