replace \n with newline for GitHub App private key
Signed-off-by: Connor Younglund <younglund_connor@bah.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user