Showing 1 of 2 files from the diff.

@@ -294,21 +294,6 @@
Loading
294 294
    };
295 295
}
296 296
297 -
export function getDataSetTypeAsString(type: zowe.CreateDataSetTypeEnum) {
298 -
    switch (type) {
299 -
        case zowe.CreateDataSetTypeEnum.DATA_SET_BINARY:
300 -
            return "Data Set Binary";
301 -
        case zowe.CreateDataSetTypeEnum.DATA_SET_C:
302 -
            return "Data Set C";
303 -
        case zowe.CreateDataSetTypeEnum.DATA_SET_CLASSIC:
304 -
            return "Data Set Classic";
305 -
        case zowe.CreateDataSetTypeEnum.DATA_SET_PARTITIONED:
306 -
            return "Data Set Partitioned";
307 -
        case zowe.CreateDataSetTypeEnum.DATA_SET_SEQUENTIAL:
308 -
            return "Data Set Sequential";
309 -
    }
310 -
}
311 -
312 297
/**
313 298
 * Creates a new file and uploads to the server
314 299
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -598,18 +583,23 @@
Loading
598 583
    let label = "";
599 584
    let fav = false;
600 585
    try {
601 -
        if (node.getParent().contextValue.includes(globals.FAVORITE_CONTEXT)) {
602 -
            label = node.label.substring(node.label.indexOf(":") + 1).trim();
603 -
            fav = true;
604 -
        } else if (node.getParent().contextValue.includes(globals.DS_PDS_CONTEXT + globals.FAV_SUFFIX)) {
605 -
            label = node.getParent().getLabel().substring(node.getParent().getLabel().indexOf(":") + 1).trim() + "(" + node.getLabel() + ")";
606 -
            fav = true;
607 -
        } else if (node.getParent().contextValue.includes(globals.DS_SESSION_CONTEXT)) {
608 -
            label = node.getLabel();
609 -
        } else if (node.getParent().contextValue.includes(globals.DS_PDS_CONTEXT)) {
610 -
            label = node.getParent().getLabel() + "(" + node.getLabel() + ")";
611 -
        } else {
612 -
            throw Error(localize("deleteDataSet.invalidNode.error", "deleteDataSet() called from invalid node."));
586 +
        switch (node.getParent().contextValue) {
587 +
            case (globals.FAVORITE_CONTEXT):
588 +
                label = node.label.substring(node.label.indexOf(":") + 1).trim();
589 +
                fav = true;
590 +
                break;
591 +
            case (globals.DS_PDS_CONTEXT + globals.FAV_SUFFIX):
592 +
                label = node.getParent().getLabel().substring(node.getParent().getLabel().indexOf(":") + 1).trim() + "(" + node.getLabel()+ ")";
593 +
                fav = true;
594 +
                break;
595 +
            case (globals.DS_SESSION_CONTEXT):
596 +
                label = node.getLabel();
597 +
                break;
598 +
            case (globals.DS_PDS_CONTEXT):
599 +
                label = node.getParent().getLabel()+ "(" + node.getLabel()+ ")";
600 +
                break;
601 +
            default:
602 +
                throw Error(localize("deleteDataSet.invalidNode.error", "deleteDataSet() called from invalid node."));
613 603
        }
614 604
        await datasetProvider.checkCurrentProfile(node);
615 605
        if (Profiles.getInstance().validProfile === ValidProfileEnum.VALID) {
Files Coverage
src 89.45%
Project Totals (50 files) 89.45%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading