Skip to content
Snippets Groups Projects
Commit ca0d621a authored by Fabien Combernous's avatar Fabien Combernous
Browse files

Merge branch '32-fix-color-in-wp-core-check-update-can-mess-up-the-data-in-the-fact' into 'master'

Resolve "Fix color in wp core check-update can mess up the data in the fact"

Closes #32

See merge request !29
parents 5aafa10c 9eaeb187
No related branches found
No related tags found
1 merge request!29Resolve "Fix color in wp core check-update can mess up the data in the fact"
...@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file. ...@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
* #29 Fix external fact variable extrapolation. * #29 Fix external fact variable extrapolation.
* #30 Fix missing assume yes answer in `spec_helper_acceptance.rb`. * #30 Fix missing assume yes answer in `spec_helper_acceptance.rb`.
* #31 Add note about private aspect in puppet string. * #31 Add note about private aspect in puppet string.
* #32 Fix color in wp core check-update can mess up the data in the fact.
**Known Issues** **Known Issues**
......
...@@ -43,7 +43,7 @@ for site in wproot.keys ...@@ -43,7 +43,7 @@ for site in wproot.keys
# end of core wp version process # end of core wp version process
# for #site get information about core wp update # for #site get information about core wp update
Open3.popen3('wp','--allow-root',"--path=#{path}",'core','check-update') do |stdin, stdout, stderr, wait_thr| Open3.popen3('wp','--allow-root','--no-color',"--path=#{path}",'core','check-update') do |stdin, stdout, stderr, wait_thr|
if wait_thr.value.success? if wait_thr.value.success?
while line = stdout.gets while line = stdout.gets
update = line.chomp update = line.chomp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment