Skip to content

Commit

Permalink
Quick-fix for #28 and #30. Missing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomthom committed Jun 26, 2018
1 parent 4c58791 commit fa87c63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/skippy/installer/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def update_repository(target)
# @param [Git::Base]
# @param [String] branch
def checkout_branch(git, branch)
branches = git.braches.map(&:name)
branches = git.branches.map(&:name)
info "Branches: #{branches.inspect}"
unless branches.include?(branch)
raise Skippy::BranchNotFound, "Found no branch named: '#{branch}'"
Expand Down
2 changes: 1 addition & 1 deletion lib/skippy/module_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def copy_file(lib_module, source, target)
transform_module(content)
File.write(target, content)
else
File.copy(source, target)
FileUtils.copy(source, target)
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/skippy/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Skippy

VERSION = '0.4.0.a'.freeze
VERSION = '0.4.1.a'.freeze

end

0 comments on commit fa87c63

Please sign in to comment.