Skip to content

Commit 015244e

Browse files
denisbredikhin-agarturcic
authored andcommitted
Formatting
1 parent 6348cc8 commit 015244e

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/agents/common/build-agent.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,7 @@ export abstract class BuildAgentBase implements IBuildAgent {
267267
} catch (e) {
268268
const error = e as Error & { code?: number | string; stderr?: string | Buffer; stdout?: string | Buffer }
269269
const normalizedStdout = typeof error.stdout === 'string' ? error.stdout : error.stdout?.toString()
270-
const normalizedStderr =
271-
typeof error.stderr === 'string'
272-
? error.stderr
273-
: (error.stderr?.toString() ?? error.message)
270+
const normalizedStderr = typeof error.stderr === 'string' ? error.stderr : (error.stderr?.toString() ?? error.message)
274271
const exitCode = typeof error.code === 'number' ? error.code : -1
275272
return {
276273
code: exitCode,

src/tools/common/dotnet-tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export abstract class DotnetTool implements IDotnetTool {
196196
toolPath = await this.buildAgent.which(this.toolName, true)
197197
}
198198

199-
args = [`--roll-forward`, `Major`, ...args];
199+
args = [`--roll-forward`, `Major`, ...args]
200200
return await this.execute(toolPath, args)
201201
}
202202

0 commit comments

Comments
 (0)