Permalink
Browse files

Be silent when asked to

  • Loading branch information...
1 parent 68c56d8 commit 9978b0b7589f8980b786e419f3be83b69a606c12 @nddrylliog nddrylliog committed Feb 12, 2013
Showing with 6 additions and 2 deletions.
  1. +3 −1 source/rock/frontend/drivers/Driver.ooc
  2. +3 −1 source/rock/middle/UseDef.ooc
@@ -59,7 +59,9 @@ Driver: abstract class {
src := File new(additional)
dest := File new(params libcachePath, src getName())
- "Copying %s to %s" printfln(src path, dest path)
+ if (params verbose) {
+ "Copying %s to %s" printfln(src path, dest path)
+ }
src copyTo(dest)
}
}
@@ -84,7 +84,9 @@ UseDef: class {
file := findUse(identifier + ".use", params)
if(!file) return null
- "Use %s sourced from %s" printfln(identifier, file path)
+ if (params verbose) {
+ "Use %s sourced from %s" printfln(identifier, file path)
+ }
cached read(file, params)
This cache put(identifier, cached)

0 comments on commit 9978b0b

Please sign in to comment.