Fix call to log.warn in asmjs mode
When attempting to run tdweb in asmjs mode, a call to `log.warning` is made. However, the correct call is `log.warn`.
This commit is contained in:
parent
b52d31e610
commit
36e98f31a2
@ -147,7 +147,7 @@ async function loadTdlib(mode, onFS, wasmUrl) {
|
||||
if (mode === 'wasm') {
|
||||
log.error('WebAssembly is not supported, trying to use it anyway');
|
||||
} else {
|
||||
log.warning('WebAssembly is not supported, trying to use asm.js');
|
||||
log.warn('WebAssembly is not supported, trying to use asm.js');
|
||||
mode = 'asmjs';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user