Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Change the condition for nocdn #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/scotty.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function scotty(source, bucket, prefix, region, website, spa, update, destroy, n
logger.log('This link should be copied to your clipboard now.'.magenta)
}

if (cdnUrl) {
if (!nocdn) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be if (!nocdn && cdnUrl)?

logger.log('\nCDN URL:'.magenta, colors.cyan(cdnUrl), '\nCloudFront is super slow, this link should be valid in next 10 minutes or so.'.magenta)
}
}
Expand Down