mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 08:30:39 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user