Show ci-env file content

This commit is contained in:
Alexey Igrychev
2020-05-27 00:17:08 +01:00
parent fe3767b155
commit 1d91fd29fd
6 changed files with 20 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ export class Manager {
const tmpFilePath = tmpFile.name
await this.Exec(['ci-env', 'github', '--as-env-file', '-o', tmpFilePath])
dotenv.config({path: tmpFilePath})
fs.readFile(tmpFilePath, null, function (err, contents) {
console.log(contents.toString())
})
tmpFile.removeCallback()
}