Skip to content

Commit

Permalink
Adding more debugging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rizowski committed Feb 15, 2017
1 parent 29a9d6e commit fde4081
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/arg-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const formats = {

const getPath = function getPath(options){
logger.debug('GetPath: %s', options.format);
return path.join(__dirname, formatterPath, options.format);
const formatPath = path.join(__dirname, formatterPath, options.format);
logger.debug(formatPath);
return formatPath;
};

export default {
Expand Down
2 changes: 1 addition & 1 deletion src/eslint/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const logger = Logger('eslint-cli');
logger.debug('Loaded');

export default function eslintCli(args, options){
logger.debug('eslint: %o', args);
logger.debug('eslint: %o', args.join(' '));
const result = spawnSync(settings.eslintPath, args, _.merge({ stdio: 'inherit' }, options));
logger.debug(result);
return result;
Expand Down

0 comments on commit fde4081

Please sign in to comment.