mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-29 15:44:13 +00:00
Fix: empty url export
This commit is contained in:
@@ -11,7 +11,8 @@ import { deleteSecretsInEnvs, deleteUidsInEnvs, deleteUidsInItems } from '../col
|
||||
*/
|
||||
export const transformUrl = (url, params) => {
|
||||
if (typeof url !== 'string' || !url.trim()) {
|
||||
throw new Error("Invalid URL input");
|
||||
url = "";
|
||||
console.error("Invalid URL input:", url);
|
||||
}
|
||||
|
||||
const urlRegexPatterns = {
|
||||
|
||||
Reference in New Issue
Block a user