🎨 Optimizing the user prompts during command usage
This commit is contained in:
2
bin/utils/url.ts
vendored
2
bin/utils/url.ts
vendored
@@ -42,6 +42,6 @@ export function normalizeUrl(urlToNormalize: string): string {
|
||||
if (isurl(urlWithProtocol)) {
|
||||
return urlWithProtocol;
|
||||
} else {
|
||||
throw new Error(`Your url "${urlWithProtocol}" is invalid`);
|
||||
throw new Error(`The URL "${urlWithProtocol}" you provided is invalid.`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user