Skip to content

Commit

Permalink
make eslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kenohassler committed Apr 15, 2024
1 parent 9502c2b commit 541448f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/nvidiautil@ethanwharris/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export default class NvidiaUtilPreferences extends ExtensionPreferences {

/**
* Construct the individual widget for an individual setting
*
* @param {string} setting Key from the SETTINGS dictionary
* @returns {object} GTK box for this single setting
*/
Expand Down Expand Up @@ -152,7 +151,6 @@ function buildSettingWidget(setting) {

/**
* Construct the entire widget for the settings dialog
*
* @returns {object} GTK box containing the entire settings dialog
*/
function buildPrefsWidget() {
Expand Down
1 change: 0 additions & 1 deletion src/nvidiautil@ethanwharris/processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const OPTIMUS = 2;

/**
* Utility function to perform one function and then another
*
* @param {Function} first The function executed first
* @param {Function} second The function executed second
* @returns {Function} A function that runs both given functions
Expand Down
2 changes: 0 additions & 2 deletions src/nvidiautil@ethanwharris/subprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import GLib from 'gi://GLib';
* Execute a command asynchronously and check the exit status.
*
* If given, @cancellable can be used to stop the process before it finishes.
*
* @param {string[]} argv - a list of string arguments
* @param {Gio.Cancellable} [cancellable] - optional cancellable object
* @returns {Promise<boolean>} - The process success
Expand Down Expand Up @@ -58,7 +57,6 @@ export async function execCheck(argv, cancellable = null) {
*
* If given, @input will be passed to `stdin` and @cancellable can be used to
* stop the process before it finishes.
*
* @param {string[]} argv - a list of string arguments
* @param {string} [input] - Input to write to `stdin` or %null to ignore
* @param {Gio.Cancellable} [cancellable] - optional cancellable object
Expand Down

0 comments on commit 541448f

Please sign in to comment.