Skip to content

Commit 44acbce

Browse files
mikeharderCopilot
andauthored
Update src/lib/validators/openApiDiff.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1f52c09 commit 44acbce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/validators/openApiDiff.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@ export class OpenApiDiff {
303303
throw new Error(`File "${newSwagger}" not found.`)
304304
}
305305

306-
const [file, args] = [this.dotNetPath(), [this.openApiDiffDllPath(), "-o", oldSwagger, "-n", newSwagger]]
306+
const file = this.dotNetPath()
307+
const args = [this.openApiDiffDllPath(), "-o", oldSwagger, "-n", newSwagger]
307308

308309
log.debug(`Executing: "${file} ${args.join(" ")}"`)
309310
const { stdout } = await execFile(file, args, { encoding: "utf8", maxBuffer: 1024 * 1024 * 64 })

0 commit comments

Comments
 (0)