make eslint happy again

This commit is contained in:
max-mrgrsk
2024-09-11 22:08:29 +02:00
parent 504d369f89
commit 21a966b9b0

View File

@ -43,11 +43,11 @@ import { kclManager, engineCommandManager, editorManager } from 'lib/singletons'
* Apply Fillet To Selection
*/
export function applyFilletToSelection(
export async function applyFilletToSelection(
ast: Program,
selection: Selections,
radius: KclCommandValue
): void | Error {
): Promise <void | Error> {
// 1. clone ast
let clonedAst = structuredClone(ast)
@ -57,7 +57,6 @@ export function applyFilletToSelection(
const { modifiedAst, pathToFilletNode } = result
// 3. update ast
// eslint-disable-next-line @typescript-eslint/no-floating-promises
updateAstAndFocus(modifiedAst, pathToFilletNode)
}