Skip to content

Commit

Permalink
testing npm link console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
milesillsley committed Jun 11, 2019
1 parent 16459c8 commit bf9b911
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ program
.option('br, --branch [branch]', 'Specific branch for generating reports')
.action(async options => {
try {
console.log('I AM LNKED');
const config = require(path.resolve(options.config)); // eslint-disable-line import/no-dynamic-require

if (options.browser) config.browser = options.browser;
Expand Down Expand Up @@ -83,6 +84,7 @@ program
.option('a, --archive', 'add updated baseline images to an archive folder')
.action(async options => {
try {
console.log('I AM LNKED');
const config = require(path.resolve(options.config)); // eslint-disable-line import/no-dynamic-require

if (options.browser) config.browser = options.browser;
Expand Down Expand Up @@ -115,6 +117,7 @@ program
.option('br, --branch [branch]', 'Specific branch for generating reports')
.action(async options => {
try {
console.log('I AM LNKED');
const config = require(path.resolve(options.config)); // eslint-disable-line import/no-dynamic-require
const reporter = new Reporter();

Expand Down

0 comments on commit bf9b911

Please sign in to comment.