move castle/home/.homesick_subdir to castle/.homesick_subdir
This commit is contained in:
@@ -263,7 +263,7 @@ class Homesick < Thor
|
||||
end
|
||||
|
||||
def subdir_file(castle)
|
||||
castle_dir(castle).join(SUBDIR_FILENAME)
|
||||
repos_dir.join(castle, SUBDIR_FILENAME)
|
||||
end
|
||||
|
||||
def subdirs(castle)
|
||||
@@ -331,9 +331,6 @@ class Homesick < Thor
|
||||
absolute_path = path.expand_path
|
||||
castle_home = castle_dir(castle)
|
||||
|
||||
# ignore subdir file
|
||||
next if absolute_path == castle_home.join(SUBDIR_FILENAME)
|
||||
|
||||
# make ignore dirs
|
||||
ignore_dirs = []
|
||||
subdirs.each do |subdir|
|
||||
|
||||
Reference in New Issue
Block a user