From 64c886bfebf3f1a8c81ee9dab757f4b9ad49fce4 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 1 May 2024 10:51:29 +0100 Subject: [PATCH] chore: Clarify setter to not return a value Solves this eslint issue: /puter/packages/phoenix/src/ansi-shell/ANSIShell.js 86:23 error Setter cannot return a value no-setter-return --- packages/phoenix/src/ansi-shell/ANSIShell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/phoenix/src/ansi-shell/ANSIShell.js b/packages/phoenix/src/ansi-shell/ANSIShell.js index 0eb151e8..68f260a4 100644 --- a/packages/phoenix/src/ansi-shell/ANSIShell.js +++ b/packages/phoenix/src/ansi-shell/ANSIShell.js @@ -83,7 +83,7 @@ export class ANSIShell extends EventTarget { Object.defineProperty(this.env, 'PWD', { enumerable: true, get: () => this.variables.pwd, - set: v => this.variables.pwd = v + set: v => { this.variables.pwd = v } }) Object.defineProperty(this.env, 'ROWS', { enumerable: true,