trying a fix for flow of logs

This commit is contained in:
Atharva Mulmuley 2021-04-29 16:24:08 +05:30
parent 72f489a6ec
commit dd342fb40d
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ function getArcKubeconfig() {
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
let azPath = yield io.which("az", true);
let out = fs.openSync('./out.log', 'a');
let err = fs.openSync('./out.log', 'a');
let err = fs.openSync('./err.log', 'a');
if (method == 'service-account') {
let saToken = core.getInput('token');
if (!saToken) {

View File

@ -79,7 +79,7 @@ export async function getArcKubeconfig(): Promise<string> {
const kubeconfigPath = path.join(runnerTempDirectory, `kubeconfig_${Date.now()}`);
let azPath = await io.which("az", true);
let out = fs.openSync('./out.log', 'a');
let err = fs.openSync('./out.log', 'a');
let err = fs.openSync('./err.log', 'a');
if (method == 'service-account'){
let saToken = core.getInput('token');
if(!saToken){