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

@@ -5070,6 +5070,9 @@ class Manager {
const tmpFilePath = tmpFile.name;
yield 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();
});
}