Skip to content

Commit

Permalink
chore: Clarify setter to not return a value
Browse files Browse the repository at this point in the history
Solves this eslint issue:

/puter/packages/phoenix/src/ansi-shell/ANSIShell.js
  86:23  error  Setter cannot return a value  no-setter-return
  • Loading branch information
AtkinsSJ committed May 2, 2024
1 parent 2094e05 commit 64c886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/phoenix/src/ansi-shell/ANSIShell.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 64c886b

Please sign in to comment.