fix: log key on check

This commit is contained in:
Alexis
2021-09-15 09:20:04 +09:30
parent 6af89eeb6f
commit a2f0e4c61f

View File

@@ -333,6 +333,8 @@ export class ApiManager extends EventEmitter {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion, @typescript-eslint/non-nullable-type-assertion-style
const apiKey = dotProp.get(file, 'remote.apikey')! as string;
log.debug('Checking API key "%s".', apiKey);
// Same key as current
if (!force && (apiKey === this.getKey('my_servers')?.key)) {
apiManagerLogger.debug('%s was updated but the API key didn\'t change', filePath);