Skip to content

Commit

Permalink
issueCommand overloads are no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Feb 18, 2023
1 parent 7288e2e commit 2fdc863
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,14 @@ suspend fun launchGradle(params: LaunchParams): GradleResult {
failureDetected = true
val shortFile = error.file
?.removePrefix(process.cwd())
actions.core.error(error.message, shortFile, error.line, error.col)
actions.core.error(
error.message,
jso {
file = shortFile
startLine = error.line
startColumn = error.col
},
)
}
if (failureDetected) {
process.exitCode = ExitCode.Failure.unsafeCast<Number>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ suspend fun restoreAndLog(
result?.removePrefix(version)?.let {
return if (it.endsWith(primaryKey)) RestoreType.Exact(it) else RestoreType.Partial(it)
}
info("Cache was not found for $primaryKey, restore keys: ${restoreKeys.joinToString(", ")}")
info("Cache was not found for version=$version, primaryKey=$primaryKey, restore keys=${restoreKeys.joinToString(", ")}")
return RestoreType.None
}

Expand Down

This file was deleted.

0 comments on commit 2fdc863

Please sign in to comment.