We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 046d2ed commit 9333d18Copy full SHA for 9333d18
src/main/scala/codacy/dockerApi/DockerEngine.scala
@@ -23,8 +23,8 @@ abstract class DockerEngine(Tool: Tool) {
23
Try(Duration(rawDuration)).toOption.collect{ case d:FiniteDuration => d }
24
}.getOrElse(30.minutes)
25
26
- lazy val isDebug = Option(System.getProperty("debug")).flatMap{ case rawDuration =>
27
- Try(rawDuration.toBoolean).toOption
+ lazy val isDebug = Option(System.getProperty("debug")).flatMap{ case rawDebug =>
+ Try(rawDebug.toBoolean).toOption
28
}.getOrElse(false)
29
30
def log(message:String):Unit = if(isDebug){
0 commit comments