Skip to content

Commit

Permalink
fix createstackmoduleoutputs.rb in case additional modules are used w…
Browse files Browse the repository at this point in the history
…ithin test/fixtures/default
  • Loading branch information
tbugfinder committed Nov 5, 2021
1 parent 7ae2d04 commit c100812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hooks/createstackmoduleoutputs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

# get module section from main.json
allModules = JSON.parse(stdout)['module_calls']
allModulesfixtures = JSON.parse(stdoutfixture)['module_calls']
allModulesfixtures = JSON.parse(stdoutfixture)['module_calls'].select{ |_, v| v if v['source'] == "../../.." or v['source'] == "../../../" }

fixturemodulename = ''
allModulesfixtures.each do |singlemodule|
Expand Down
2 changes: 1 addition & 1 deletion ods-pre-commit-hooks-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Gem::Specification.new do |s|
s.required_ruby_version = '~> 2.6'
s.name = 'ods-pre-commit-hooks-ruby'
s.version = '0.0.8'
s.version = '0.3.6'

s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
s.authors = ['Josef Hartmann / Erhard Wais']
Expand Down

0 comments on commit c100812

Please sign in to comment.