Skip to content

Commit fd46a58

Browse files
authored
allow file dependencies to live in folders (#13)
1 parent 2a023f9 commit fd46a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/assignr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ extract_hw_name = function(x) {
113113
}
114114

115115
hw_dir_dependencies = function(x) {
116-
main_dir_files = list.files(dirname(x), full.names = TRUE)
116+
main_dir_files = list.files(dirname(x), full.names = TRUE, recursive = TRUE)
117117
grep(main_dir_files, pattern='-(main|assign|sol)', invert=TRUE, value=TRUE)
118118
}
119119

0 commit comments

Comments
 (0)