-
Notifications
You must be signed in to change notification settings - Fork 28
Allowing --no-build flag during skyux e2e #262
Conversation
Codecov Report
@@ Coverage Diff @@
## master #262 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 58 58
Lines 1340 1349 +9
Branches 197 200 +3
=====================================
+ Hits 1340 1349 +9
Continue to review full report at Codecov.
|
cli/e2e.js
Outdated
logger.info('Running build...'); | ||
build(argv, skyPagesConfig, webpack) | ||
.then(stats => { | ||
logger.info('Build complete.'); | ||
console.log(stats.toJson().chunks); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to leave the console log in here?
cli/e2e.js
Outdated
if (argv.build === false) { | ||
logger.info('Skipping build step'); | ||
return resolve({ | ||
metadata: fs.readJsonSync('dist/metadata.json') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know fs
likes to throw errors around. Are we fairly confident that metadata.json
will always exist? ie, we don't need to wrap this in a try/catch
?
Great feedback @Blackbaud-SteveBrush. Should be addressed in latest. I haven't seen rampant |
No description provided.