lib/git_fonky.rb in git_fonky-0.5.0 vs lib/git_fonky.rb in git_fonky-0.6.0

- old
+ new

@@ -1,17 +1,17 @@ # frozen_string_literal: true require_relative "git_fonky/version" require_relative "git_fonky/repo_dir" -require_relative "git_fonky/work_repo_names" +require_relative "git_fonky/repo_names" module GitFonky class Error < StandardError; end def self.sync_repos Dir.chdir "#{Dir.home}/code" do - WORK_REPO_NAMES.each do |dir| - RepoDir.new(dir).sync + REPO_NAMES.each do |dir| + RepoDir.sync(dir) puts "\n\n\n" end end end end