replace \n with newline for GitHub App private key

Signed-off-by: Connor Younglund <younglund_connor@bah.com>
This commit is contained in:
Connor Younglund
2021-10-13 13:10:15 -04:00
parent 87e6a88418
commit dd9cf64dd5
@@ -74,7 +74,7 @@ class GithubAppManager {
this.baseUrl = baseUrl;
this.baseAuthConfig = {
appId: config.appId,
privateKey: config.privateKey,
privateKey: config.privateKey.replace(/\\n/gm, '\n'),
};
this.appClient = new Octokit({
baseUrl,