Address Issues from Review in #267 (#269)

* replace global.log() with logError()

* remove run_dispose calls

    This function should only be called from object system implementations.

https://gjs-docs.gnome.org/gobject20~2.0/gobject.object#method-run_dispose

* use pkexec instead of sudo for ipmi-sensors
This commit is contained in:
Manuel Selinger
2023-10-20 07:53:40 +02:00
committed by GitHub
parent 4465c14786
commit ce5a396397
8 changed files with 17 additions and 30 deletions

View File

@@ -70,7 +70,7 @@ export default class LiquidctlUtil extends CommandLineUtil {
this._temp = null;
this._rpm = null;
this._volt = null;
global.log('failed to process data from liquidctl: ' + e.toString());
logError(e, 'failed to process data from liquidctl');
}
});
}