mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-03 01:30:27 -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
|
* @returns {Promise} Promise that resolves after the project has loaded
|
||||||
*/
|
*/
|
||||||
fromJSON (json) {
|
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);
|
return this.loadProject(json);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue