Skip to content

Commit d59d12e

Browse files
committed
Set basedir to bootstrapped_dir if unset
1 parent 8553e18 commit d59d12e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/octocatalog-diff/util/catalogs.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def build_catalog_tasks
147147
retry_failed_catalog: @options.fetch(:retry_failed_catalog, 0),
148148
parser: @options["parser_#{key}".to_sym]
149149
)
150+
args[:basedir] ||= args[:bootstrapped_dir]
150151

151152
# If any options are in the form of 'to_SOMETHING' or 'from_SOMETHING', this sets the option to
152153
# 'SOMETHING' for the catalog if it matches this key. For example, when compiling the 'to' catalog

0 commit comments

Comments
 (0)