Closed thenoid closed 8 years ago
https://github.com/chef-cookbooks/push-jobs/blob/master/libraries/helpers.rb#L87
'path' is a directory, 'json_path' is the json file
So this and #57 are related
the full bugfix should be:
JSON.parse(File.read(json_path))['build_version']
JSON.parse doesn't appear to implement file reading.
This should be fixed by PR #63
thx! :+1:
https://github.com/chef-cookbooks/push-jobs/blob/master/libraries/helpers.rb#L87
'path' is a directory, 'json_path' is the json file