Skip to content

Commit 9333d18

Browse files
committed
rename arg
1 parent 046d2ed commit 9333d18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/codacy/dockerApi/DockerEngine.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ abstract class DockerEngine(Tool: Tool) {
2323
Try(Duration(rawDuration)).toOption.collect{ case d:FiniteDuration => d }
2424
}.getOrElse(30.minutes)
2525

26-
lazy val isDebug = Option(System.getProperty("debug")).flatMap{ case rawDuration =>
27-
Try(rawDuration.toBoolean).toOption
26+
lazy val isDebug = Option(System.getProperty("debug")).flatMap{ case rawDebug =>
27+
Try(rawDebug.toBoolean).toOption
2828
}.getOrElse(false)
2929

3030
def log(message:String):Unit = if(isDebug){

0 commit comments

Comments
 (0)