Skip to content

Commit

Permalink
Fix small styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jvican committed Oct 9, 2017
1 parent 97926b3 commit d9c1ff4
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,19 +385,15 @@ trait Helper {

val logger = Keys.streams.value.log
val projectName = Keys.name.value

logger.info(Feedback.logCheckRequirements(projectName))

def check(checks: (Boolean, String)*): Unit = {
val errors = checks.collect { case (false, feedback) =>
logger.error(feedback)
}
val errors = checks.collect { case (false, feedback) => logger.error(feedback) }
if (errors.nonEmpty) sys.error(Feedback.fixRequirementErrors)
}

// Using Sonatype publisher
if (PrivateKeys.releaseEarlyIsSonatype.value) Def.task {

logger.debug(Feedback.skipBintrayCredentialsCheck(projectName))

val sonatypeCredentials = getSonatypeCredentials.orElse {
Expand Down

0 comments on commit d9c1ff4

Please sign in to comment.