diff --git a/libraries/manifest-validation/src/validations.ts b/libraries/manifest-validation/src/validations.ts index cf9704c06..7a30f8dd1 100644 --- a/libraries/manifest-validation/src/validations.ts +++ b/libraries/manifest-validation/src/validations.ts @@ -255,41 +255,7 @@ export const maniTests: Array = [ quickFix: true, test: (value: string) => { if (value && typeof value === "string" && value.length > 0) { - try { - // get current manifest - const currentMani = currentManifest; - - const url = value; - //console.log("test url", url); - - // is url relative to scope - let relativeToScope = false; - if (currentMani && currentMani.scope) { - //console.log("test scope", currentMani?.scope); - // is url relative to currentMani.scope - const scopeUrl = currentMani.scope; - //console.log("scope url", scopeUrl); - - if (url.startsWith(scopeUrl)) { - relativeToScope = true; - } - else { - relativeToScope = false; - } - } - else if (currentMani && !currentMani.scope && (url.startsWith("/") || url.startsWith("https"))) { - relativeToScope = true; - } - else { - relativeToScope = false; - } - - return relativeToScope; - - } - catch { - return false; - } + return true; } else { return false;