change printf to log
Some checks are pending
ci / Linux (Ubuntu) (push) Waiting to run
ci / linux-asan (push) Waiting to run
ci / linux-msan (push) Waiting to run
ci / linux-ubsan (push) Waiting to run
ci / macOS (push) Waiting to run
ci / macos-asan (push) Waiting to run
ci / macos-ubsan (push) Waiting to run
ci / freebsd (push) Waiting to run
ci / qemu-alpine (arm32v6) (push) Waiting to run
ci / qemu-alpine (arm32v7) (push) Waiting to run
ci / qemu-alpine (arm64v8) (push) Waiting to run
ci / qemu-alpine (i386) (push) Waiting to run
ci / qemu-alpine (s390x) (push) Waiting to run
Some checks are pending
ci / Linux (Ubuntu) (push) Waiting to run
ci / linux-asan (push) Waiting to run
ci / linux-msan (push) Waiting to run
ci / linux-ubsan (push) Waiting to run
ci / macOS (push) Waiting to run
ci / macos-asan (push) Waiting to run
ci / macos-ubsan (push) Waiting to run
ci / freebsd (push) Waiting to run
ci / qemu-alpine (arm32v6) (push) Waiting to run
ci / qemu-alpine (arm32v7) (push) Waiting to run
ci / qemu-alpine (arm64v8) (push) Waiting to run
ci / qemu-alpine (i386) (push) Waiting to run
ci / qemu-alpine (s390x) (push) Waiting to run
This commit is contained in:
parent
24692fbb5f
commit
978a3f47f3
1 changed files with 2 additions and 2 deletions
2
qjs.c
2
qjs.c
|
@ -540,7 +540,7 @@ int main(int argc, char **argv)
|
||||||
"if (typeof std !== 'undefined') {\n"
|
"if (typeof std !== 'undefined') {\n"
|
||||||
" globalThis.urlGet = std.urlGet;\n"
|
" globalThis.urlGet = std.urlGet;\n"
|
||||||
" globalThis.loadFile = std.loadFile;\n"
|
" globalThis.loadFile = std.loadFile;\n"
|
||||||
" globalThis.printf = std.printf;\n"
|
" globalThis.printf = console.log;\n"
|
||||||
" globalThis.evalFile = std.loadScript;\n"
|
" globalThis.evalFile = std.loadScript;\n"
|
||||||
" globalThis.getURL = std.urlGet;\n"
|
" globalThis.getURL = std.urlGet;\n"
|
||||||
"} else {\n"
|
"} else {\n"
|
||||||
|
|
Loading…
Reference in a new issue