fix bug
Some checks failed
backend / cross (arm) (push) Failing after 31s
backend / cross (i686) (push) Failing after 1m31s
backend / cross (mips) (push) Failing after 6m31s
backend / cross (mips64) (push) Failing after 2m48s
backend / cross (mipsel) (push) Failing after 36m43s
backend / cross (win32) (push) Failing after 16m35s
docker / build (push) Failing after 2m37s
backend / cross (aarch64) (push) Failing after 3m20s
backend / cross (armhf) (push) Failing after 31s
backend / cross (mips64el) (push) Failing after 6m37s
backend / cross (s390x) (push) Failing after 38m17s
backend / cross (x86_64) (push) Failing after 6m31s
Some checks failed
backend / cross (arm) (push) Failing after 31s
backend / cross (i686) (push) Failing after 1m31s
backend / cross (mips) (push) Failing after 6m31s
backend / cross (mips64) (push) Failing after 2m48s
backend / cross (mipsel) (push) Failing after 36m43s
backend / cross (win32) (push) Failing after 16m35s
docker / build (push) Failing after 2m37s
backend / cross (aarch64) (push) Failing after 3m20s
backend / cross (armhf) (push) Failing after 31s
backend / cross (mips64el) (push) Failing after 6m37s
backend / cross (s390x) (push) Failing after 38m17s
backend / cross (x86_64) (push) Failing after 6m31s
This commit is contained in:
@@ -367,6 +367,9 @@ export class Xterm {
|
|||||||
}
|
}
|
||||||
this.containerStatus = data.status;
|
this.containerStatus = data.status;
|
||||||
} else {
|
} else {
|
||||||
|
if(this.containerStatus !== '4'){
|
||||||
|
this.writeData("\x1b[31mCreation completed. Please refresh the page to connect to the devcontainer\x1b[0m");
|
||||||
|
}
|
||||||
this.containerStatus = data.status;
|
this.containerStatus = data.status;
|
||||||
if (data.status === '4') {
|
if (data.status === '4') {
|
||||||
const parts = data.command.split('\n');
|
const parts = data.command.split('\n');
|
||||||
@@ -445,12 +448,14 @@ export class Xterm {
|
|||||||
this.connectStatus === false &&
|
this.connectStatus === false &&
|
||||||
textDecoder.decode(data).replace(/\s/g, '').includes('Successfully connected to the devcontainer'.replace(/\s/g, ''))
|
textDecoder.decode(data).replace(/\s/g, '').includes('Successfully connected to the devcontainer'.replace(/\s/g, ''))
|
||||||
) {
|
) {
|
||||||
clearInterval(this.intervalID);
|
|
||||||
this.connectStatus = true;
|
this.connectStatus = true;
|
||||||
|
clearInterval(this.intervalID);
|
||||||
}
|
}
|
||||||
// 连接完成之前,不输出标题和docker命令
|
// 连接完成之前,不输出标题和docker命令
|
||||||
if (
|
if (
|
||||||
!(this.connectStatus === false && (textDecoder.decode(data).includes('\x1b') || textDecoder.decode(data).replace(/\s/g, '').includes('docker-H')))
|
!(this.connectStatus === false &&
|
||||||
|
(textDecoder.decode(data).includes('\x1b') ||
|
||||||
|
textDecoder.decode(data).replace(/\s/g, '').includes('docker-H')))
|
||||||
){
|
){
|
||||||
this.writeFunc(data);
|
this.writeFunc(data);
|
||||||
}
|
}
|
||||||
|
|||||||
32253
src/html.h
generated
32253
src/html.h
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user