mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-22 19:05:56 -04:00
No console.log, how about a process.stdout.write instead.
This commit is contained in:
parent
95c6cd2a06
commit
56178f2b6c
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
var routes = require('./routes.json');
|
||||
var nginx_conf = require('routes-to-nginx-conf');
|
||||
|
||||
nginx_conf.generate_nginx_conf( routes, function ( v ) { console.log(v) } );
|
||||
nginx_conf.generate_nginx_conf( routes, function ( v ) { process.stdout.write(v); } );
|
||||
|
||||
|
|
Loading…
Reference in a new issue