Change my public email address
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Sshwifty - A Web SSH client
|
||||
//
|
||||
// Copyright (C) 2019-2021 Ni Rui <nirui@gmx.com>
|
||||
// Copyright (C) 2019-2021 NI Rui <ranqus@gmail.com>
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Affero General Public License as
|
||||
@@ -161,7 +161,7 @@ export class Multiple {
|
||||
if (this.reader === null && this.subscribe.pendings() <= 0) {
|
||||
this.reader = {
|
||||
reader: reader,
|
||||
depleted: depleted
|
||||
depleted: depleted,
|
||||
};
|
||||
|
||||
return;
|
||||
@@ -169,7 +169,7 @@ export class Multiple {
|
||||
|
||||
this.subscribe.resolve({
|
||||
reader: reader,
|
||||
depleted: depleted
|
||||
depleted: depleted,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ export class Reader {
|
||||
this.buffers = new subscribe.Subscribe();
|
||||
this.bufferConverter =
|
||||
bufferConverter ||
|
||||
(d => {
|
||||
((d) => {
|
||||
return d;
|
||||
});
|
||||
this.closed = false;
|
||||
@@ -567,7 +567,7 @@ export async function readUntil(indexOfReader, byteData) {
|
||||
if (pos >= 0) {
|
||||
return {
|
||||
data: await readN(indexOfReader, pos + 1),
|
||||
found: true
|
||||
found: true,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -576,12 +576,12 @@ export async function readUntil(indexOfReader, byteData) {
|
||||
|
||||
return {
|
||||
data: d,
|
||||
found: d[0] === byteData
|
||||
found: d[0] === byteData,
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
data: await readN(indexOfReader, buffered),
|
||||
found: false
|
||||
found: false,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user