Skip to content

Commit

Permalink
Silence the sbt-scalafix and sbt-java-formatter's file ignoring akka#…
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin authored and johanandren committed Jan 15, 2019
1 parent e6c81d3 commit 36ade96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project/ProjectFileIgnoreSupport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trait ProjectFileIgnoreSupport {
lazy val ignoredFiles: Set[String] = {
import scala.collection.JavaConverters._
val config = ConfigFactory.parseFile(file(ignoreConfigFileName))
stdoutLogger.info(s"Loading ignored-files from $ignoreConfigFileName:[${config.origin().url().toURI.getPath}]")
stdoutLogger.debug(s"Loading ignored-files from $ignoreConfigFileName:[${config.origin().url().toURI.getPath}]")
config
.getStringList("ignored-files")
.asScala
Expand All @@ -30,7 +30,7 @@ trait ProjectFileIgnoreSupport {
lazy val ignoredPackages: Set[String] = {
import scala.collection.JavaConverters._
val config = ConfigFactory.parseFile(file(ignoreConfigFileName))
stdoutLogger.info(s"Loading ignored-packages from $ignoreConfigFileName:[${config.origin().url().toURI.getPath}]")
stdoutLogger.debug(s"Loading ignored-packages from $ignoreConfigFileName:[${config.origin().url().toURI.getPath}]")
config
.getStringList("ignored-packages")
.asScala
Expand All @@ -40,7 +40,7 @@ trait ProjectFileIgnoreSupport {
protected def isIgnoredByFile(file: File): Boolean = {
val ignoredByFile = ignoredFiles(file.getName)
if (ignoredByFile) {
stdoutLogger.info(s"$descriptor ignored file with file name:${file.getName} file:[${file.toPath}]")
stdoutLogger.debug(s"$descriptor ignored file with file name:${file.getName} file:[${file.toPath}]")
}
ignoredByFile
}
Expand All @@ -51,7 +51,7 @@ trait ProjectFileIgnoreSupport {
case Some(packageName) =>
val ignored = packageName.startsWith(pkg)
if (ignored) {
stdoutLogger.info(s"$descriptor ignored file with pkg:$pkg file:[${file.toPath}] ")
stdoutLogger.debug(s"$descriptor ignored file with pkg:$pkg file:[${file.toPath}] ")
}
ignored
case None => false
Expand Down

0 comments on commit 36ade96

Please sign in to comment.