chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -16,8 +16,7 @@ export function resolveNativeCommandsEnabled(params: {
|
||||
globalSetting?: NativeCommandsSetting;
|
||||
}): boolean {
|
||||
const { providerId, providerSetting, globalSetting } = params;
|
||||
const setting =
|
||||
providerSetting === undefined ? globalSetting : providerSetting;
|
||||
const setting = providerSetting === undefined ? globalSetting : providerSetting;
|
||||
if (setting === true) return true;
|
||||
if (setting === false) return false;
|
||||
// auto or undefined -> heuristic
|
||||
|
||||
Reference in New Issue
Block a user