protected updateHTML()

in src/VstsHtmlGenerator.ts [17:32]


    protected updateHTML() {
        super.updateHTML();
        let resources: string = this.getResources();
        let installOptions: string = this.getInstallOptions();
        let screenShot: string = this.getScreenShots();
        // This array hold the key-value relations
        let dataMapArray: DataKeyValuePair[] = [
            new DataKeyValuePair("${installation}", installOptions),
            new DataKeyValuePair("${screenshot}", screenShot),
            new DataKeyValuePair("${resources}", resources),
        ]
        //Replace the values in HTML template using the dataMapArray
        for (var item of dataMapArray) {
            this.html = this.html.replace(item.placeholder, item.value);
        }
    }