Skip to content

Commit 6c81722

Browse files
committed
Fix AnalyzeCommand formatting
1 parent 504b091 commit 6c81722

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

cli/src/main/scala/com/codacy/analysis/cli/command/AnalyseCommand.scala

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,18 @@ class AnalyseCommand(analyze: Analyze,
120120
},
121121
{ repository =>
122122
for {
123-
_ <- validateNoUncommitedChanges(repository, configuration.upload.upload, analyze.skipUncommittedFilesCheckValue)
123+
_ <- validateNoUncommitedChanges(
124+
repository,
125+
configuration.upload.upload,
126+
analyze.skipUncommittedFilesCheckValue)
124127
_ <- validateGitCommitUuid(repository, analyze.commitUuid, analyze.skipCommitUuidValidationValue)
125128
} yield ()
126129
})
127130
}
128131

129-
private def validateNoUncommitedChanges(repository: Repository, upload: Boolean, skipUncommittedFilesCheck: Boolean): Either[CLIError, Unit] = {
132+
private def validateNoUncommitedChanges(repository: Repository,
133+
upload: Boolean,
134+
skipUncommittedFilesCheck: Boolean): Either[CLIError, Unit] = {
130135
repository.uncommitedFiles.fold(
131136
{ _ =>
132137
Right(())

0 commit comments

Comments
 (0)