fix: use static this context
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 2 Sep 2023 19:10:30 +0000 (21:10 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 2 Sep 2023 19:10:30 +0000 (21:10 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Configuration.ts

index 4e908a5e0579dcf505f1bfbf8346c4e8f7010bce..57e2943642bbdab9b163fa127cc83eb539b68cde 100644 (file)
@@ -77,7 +77,7 @@ export class Configuration {
   public static getStationTemplateUrls(): StationTemplateUrl[] | undefined {
     const checkDeprecatedConfigurationKeysOnce = once(
       Configuration.checkDeprecatedConfigurationKeys.bind(Configuration),
-      this,
+      Configuration,
     );
     checkDeprecatedConfigurationKeysOnce();
     return Configuration.getConfigurationData()?.stationTemplateUrls;