You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/17 13:09:20 UTC

[GitHub] [cordova-ios] erisu commented on issue #648: Path to `--buildConfig` is not output in log although code indicates it should

erisu commented on issue #648: Path to `--buildConfig` is not output in log although code indicates it should
URL: https://github.com/apache/cordova-ios/issues/648#issuecomment-512245529
 
 
   One thing I noticed is it is 3 arguments.
   
   ```events.emit('log', 'Reading build config file:', path.resolve(buildOpts.buildConfig));```
   - log
   - Reading build config file:
   - path.resolve(buildOpts.buildConfig)
   
   In almost every use case where I use events.emit, its only 2 arguments. Never knew if it could take more then 2..
   This might work:
   
   ```events.emit('log', `Reading build config file: ${path.resolve(buildOpts.buildConfig)}`);```
   
   I noticed that the OSX platform repo might capture the emit and pipe it to `console.log` so in theory that would accept N number of args but I don't know what default does.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org