diff --git a/packages/phoenix/src/ansi-shell/ioutil/SignalReader.js b/packages/phoenix/src/ansi-shell/ioutil/SignalReader.js index b7eafc86..17ea234b 100644 --- a/packages/phoenix/src/ansi-shell/ioutil/SignalReader.js +++ b/packages/phoenix/src/ansi-shell/ioutil/SignalReader.js @@ -40,9 +40,9 @@ export class SignalReader extends ProxyReader { return { value, done }; } - const tmp_value = value; + let tmp_value = value; - if ( ! tmp_value instanceof Uint8Array ) { + if ( ! (tmp_value instanceof Uint8Array) ) { tmp_value = encoder.encode(value); }