mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-10 12:31:21 -04:00
fix: replace log.warning with log.warn
minilog does not have `log.warning` api
This commit is contained in:
parent
004fa5c792
commit
0b14e89bea
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ class VirtualMachine extends EventEmitter {
|
|||
* @returns {Promise} Promise that resolves after the project has loaded
|
||||
*/
|
||||
fromJSON (json) {
|
||||
log.warning('fromJSON is now just a wrapper around loadProject, please use that function instead.');
|
||||
log.warn('fromJSON is now just a wrapper around loadProject, please use that function instead.');
|
||||
return this.loadProject(json);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue