Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos and unclear wording #35

Merged
merged 10 commits into from
Dec 7, 2020
Prev Previous commit
Next Next commit
Add missing space to error message
  • Loading branch information
imjoehaines committed Dec 4, 2020
commit 1df6a0af72c823e5984c2cb91e602780dd7f50f8
2 changes: 1 addition & 1 deletion src/commands/UploadBrowserCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function validateBrowserOpts (opts: Record<string, unknown>): void {
const anySingleSet = opts['sourceMap'] || opts['bundleUrl'] || opts['bundle']
const anyMultipleSet = opts['baseUrl'] || opts['directory']
if (anySingleSet && anyMultipleSet) {
throw new Error('Incompatible options are set. Use either single mode options (--source-map, --bundle, --bundle-url) or multiple mode options (--directory,--base-url).')
throw new Error('Incompatible options are set. Use either single mode options (--source-map, --bundle, --bundle-url) or multiple mode options (--directory, --base-url).')
}
if (!anySingleSet && !anyMultipleSet) throw new Error('Not enough options supplied')

Expand Down