Change my public email address

This commit is contained in:
NI
2021-04-29 14:28:24 +08:00
parent b87d5437e5
commit 1d05a9189b
130 changed files with 206 additions and 210 deletions

View File

@@ -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,
};
}