diff options
| author | KOBAYASHI Shuji <[email protected]> | 2020-11-23 16:50:15 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2020-11-23 16:50:15 +0900 |
| commit | 2f85290065c3a848f04fc14e9a0bc47303db324d (patch) | |
| tree | e2ded7a5838b8933a59b03519c0d752ba2eb7c36 /lib | |
| parent | 39a11f323e26879d1101e31859ddb20068f12d56 (diff) | |
| download | mruby-2f85290065c3a848f04fc14e9a0bc47303db324d.tar.gz mruby-2f85290065c3a848f04fc14e9a0bc47303db324d.zip | |
Change output condition in `_pp`
* Output even with `rake -v` (to help debugging)
* Not output when `rake -s`
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mruby/core_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mruby/core_ext.rb b/lib/mruby/core_ext.rb index 3b2406c36..c404bfec9 100644 --- a/lib/mruby/core_ext.rb +++ b/lib/mruby/core_ext.rb @@ -27,7 +27,7 @@ def install_D(src, dst) end def _pp(cmd, src, tgt=nil, indent: nil) - return if Rake.verbose + return if Rake.application.options.silent width = 5 template = indent ? "%#{width * indent}s %s %s" : "%-#{width}s %s %s" |
