Skip to content

Commit

Permalink
Remove dash from error message
Browse files Browse the repository at this point in the history
Co-authored-by: Gray Gilmore <graygilmore@gmail.com>
  • Loading branch information
jamesmengo and graygilmore authored Jan 16, 2025
1 parent 2bdf2fb commit bdd01e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme/src/cli/utilities/theme-uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ async function handleFailedUploads(
function reportFailedUploads(uploadResults: Map<string, Result>) {
for (const [key, result] of uploadResults.entries()) {
if (!result.success) {
const errorMessage = result.errors?.asset?.map((err) => `-${err}`).join('\n') ?? 'File upload failed'
const errorMessage = result.errors?.asset?.map((err) => `${err}`).join('\n') ?? 'File upload failed'
renderThrownError(key, new Error(errorMessage))
}
}
Expand Down

0 comments on commit bdd01e4

Please sign in to comment.