mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 12:16:21 +03:00
fixed wording. Sorry, I'm tired and s t r e s s e d
This commit is contained in:
parent
5748b386e3
commit
50cc5678fc
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
const event = new (require('events')).EventEmitter();
|
||||
event.on('newListener', event => {
|
||||
if(event === 'start') {
|
||||
process.emitWarning('The \'start\' event is deprecated. Use \'data\' instead.', 'DeprecationWarning');
|
||||
process.emitWarning('The \'start\' event has been removed. Use \'data\' instead.', 'DeprecationWarning');
|
||||
}
|
||||
});
|
||||
module.exports = event;
|
|
@ -32,7 +32,7 @@ module.exports = async function (options) {
|
|||
let forge = null;
|
||||
let custom = null;
|
||||
if(options.forge) {
|
||||
if(options.forge.path) process.emitWarning('\'options.forge.path\' will be deprecated. Use \'options.forge\' instead');
|
||||
if(options.forge.path) process.emitWarning('\'options.forge.path\' is deprecated and will be removed. Use \'options.forge\' instead');
|
||||
event.emit('debug', '[MCLC]: Detected Forge in options, getting dependencies');
|
||||
forge = await handler.getForgeDependencies(options.root, versionFile, options.forge.path || options.forge);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue