This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class GithubDependenciesManager { | |
private static GITHUB_LIBRARIES_FILE = "github-libraries.json"; | |
private static CONSOLE_LOGGING_KEY = "[Github Dependencies Manager]"; | |
private static GITHUB_CACHE_FILE = "github-libraries-cache.json"; | |
private static CONFIG_FILE = "config.json"; | |
/** | |
* Main Method to Start inside This Manager | |
* 1. Create and Validate the Local Json Files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static sendSlackMessage(configFile: ApplicationConfigFile, message: string) { | |
try { | |
MessagingManager.getSlackApplicationInstance(configFile.signingSecret, configFile.token).client.chat.postMessage({ | |
channel: configFile.channelId, | |
mrkdwn: true, | |
text: message, | |
as_user: true, | |
parse: "full", | |
username: "Zilon" | |
}).then((response) => { |
OlderNewer