Skip to content

Commit

Permalink
chore: log cmd before parsing (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximnaidenov authored Nov 18, 2021
1 parent 7ff8bc4 commit dd945d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uiveri5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

var fs = require('fs');
var process = require('process');
var _ = require('lodash');
var proxyquire = require('proxyquire');
var url = require('url');
Expand Down Expand Up @@ -45,6 +46,8 @@ function run(config) {
logger.info(pjson.name + ' v' + pjson.version);

// log config object so far
logger.debug('Current working directory: ' + process.cwd());
logger.debug('Command-line: ${JSON.stringify(argv)}',{argv:process.argv});
logger.debug('Config from command-line: ${JSON.stringify(config)}',{config:config});

// merge in config files
Expand Down Expand Up @@ -90,9 +93,6 @@ function run(config) {
// log config object so far
logger.debug('Config after resolving config file and profile: ${JSON.stringify(config)}',{config:config});

// log cwd
logger.debug('Current working directory: ' + process.cwd());

// load spec resolver
var specResolver = moduleLoader.loadModule('specResolver');

Expand Down

0 comments on commit dd945d1

Please sign in to comment.