Skip to content

Commit c5b54d0

Browse files
committed
Merge branch 'main' of github.com:stewart42/action-hosting-deploy into stewart42-main
2 parents 03db527 + e64cd59 commit c5b54d0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bin/action.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/deploy.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ async function execWithCredentials(
9191
}
9292
}
9393

94-
return Buffer.concat(deployOutputBuf).toString("utf-8"); // output from the CLI
94+
return deployOutputBuf.length
95+
? deployOutputBuf[deployOutputBuf.length - 1].toString("utf-8")
96+
: ""; // output from the CLI
9597
}
9698

9799
export async function deploy(gacFilename: string, deployConfig: DeployConfig) {

0 commit comments

Comments
 (0)