From 12559f7d2850ac5b6ed37aadff5fe488ee71a3ca Mon Sep 17 00:00:00 2001 From: KernelDeimos <7225168+KernelDeimos@users.noreply.github.com> Date: Thu, 20 Nov 2025 21:21:26 -0500 Subject: [PATCH] lint: use this.services instead of global here This is the last error for the mandatory eslint rules. Now we can put a rule into place so that CI always fails when there's an undefined variable, which I think is pretty cool. --- src/backend/src/services/drivers/DriverService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/src/services/drivers/DriverService.js b/src/backend/src/services/drivers/DriverService.js index be4c8630a..81d782746 100644 --- a/src/backend/src/services/drivers/DriverService.js +++ b/src/backend/src/services/drivers/DriverService.js @@ -524,7 +524,7 @@ class DriverService extends BaseService { ? method_spec.result_choices[0].type : method_spec.result.type ; - const svc_coercion = services.get('coercion'); + const svc_coercion = this.services.get('coercion'); result = await svc_coercion.coerce(desired_type, result); } return result;