private static BuildUrl()

in src/jsonLoader.ts [29:50]


    private static BuildUrl(visualName: string, type: SourceType, updateType: UpdateType, folder?: string, forceMicrosoftMasterSource?: boolean): string {
        
        let repoPath: string = forceMicrosoftMasterSource || (updateType === UpdateType.CvToUtils && type === SourceType.LocalizationStrings) ? JsonLoader.microsoftPath : JsonLoader.pbicvbotPath;

        if (type === SourceType.Capabilities) {
            return JsonLoader.microsoftPath + visualName + "/master/capabilities.json";
        } else if (type === SourceType.UtilsRepo) {
            return repoPath
            + JsonLoader.localizationUtilsRepoName
            + "/master/"
            + visualName
            + (folder ? "/" + folder + "/resources.resjson" : "/en-US/resources.resjson");
        }

        return repoPath
            + visualName
            + (forceMicrosoftMasterSource || updateType === UpdateType.CvToUtils ? "/master/stringResources/" :
                                updateType === UpdateType.CapabilitiesToCv ?
                                    "/locUpdateCapabilities/stringResources/" : "/locUpdate/stringResources/")
            + (folder ? folder : JsonLoader.enUs)
            + "/resources.resjson";
    }