Skip to content

Commit 7727f3b

Browse files
author
Kevin Paulisse
committed
Fix up the comment to match what the code is doing
1 parent 99d1bdd commit 7727f3b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/octocatalog-diff/catalog-util/fileresources.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def self._convert_file_resources(resources, compilation_dir)
3030
# there is on-demand, explicit error checking for each file within the modification loop.
3131
return unless compilation_dir.is_a?(String) && compilation_dir != ''
3232

33-
# Making sure that compilation_dir/environments/production exists. Otherwise, try to find
33+
# Making sure that compilation_dir/environments/production/modules exists (and by inference,
34+
# that compilation_dir/environments/production is pointing at the right place). Otherwise, try to find
3435
# compilation_dir/modules. If neither of those exist, this code can't run.
3536
env_dir = File.join(compilation_dir, 'environments', 'production')
3637
unless File.directory?(File.join(env_dir, 'modules'))

0 commit comments

Comments
 (0)