Skip to content

Commit

Permalink
Expand repo path
Browse files Browse the repository at this point in the history
  • Loading branch information
brandoncc committed Feb 6, 2017
1 parent 417042e commit 5a25440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clone_git_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def parsed_data
end

def local_repo_path
@local_repo_path ||= "#{ENV["TARGET_DIRECTORY"]}/#{parsed_data.github_username}/#{parsed_data.repo_name}"
@local_repo_path ||= File.expand_path("#{ENV["TARGET_DIRECTORY"]}/#{parsed_data.github_username}/#{parsed_data.repo_name}")
end

def launch_editor
Expand Down

0 comments on commit 5a25440

Please sign in to comment.