Fix bug in teardown: missing argument

This commit is contained in:
Sander Declerck 2025-07-18 15:05:09 +02:00
parent c87c6491d7
commit 2aa8830b25
No known key found for this signature in database

View file

@ -1,6 +1,7 @@
import chalk from "chalk"; import chalk from "chalk";
import { ui } from "../environment/userInteraction.js"; import { ui } from "../environment/userInteraction.js";
import { detectShells } from "./shellDetection.js"; import { detectShells } from "./shellDetection.js";
import { knownAikidoTools } from "./helpers.js";
export async function teardown() { export async function teardown() {
ui.writeInformation( ui.writeInformation(
@ -26,7 +27,7 @@ export async function teardown() {
for (const shell of shells) { for (const shell of shells) {
let success = false; let success = false;
try { try {
success = shell.teardown(); success = shell.teardown(knownAikidoTools);
} catch { } catch {
success = false; success = false;
} }