mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix typo
This commit is contained in:
parent
078c3c18b9
commit
6857affcf3
|
@ -248,12 +248,12 @@ export class MarkerService implements IMarkerService {
|
|||
errors: errors,
|
||||
warnings: warnings,
|
||||
infos: infos,
|
||||
unknwons: unknwons
|
||||
unknowns: unknwons
|
||||
};
|
||||
}
|
||||
|
||||
private _emptyStats(): MarkerStatistics {
|
||||
return { errors: 0, warnings: 0, infos: 0, unknwons: 0 };
|
||||
return { errors: 0, warnings: 0, infos: 0, unknowns: 0 };
|
||||
}
|
||||
|
||||
private _updateStatsPlus(toAdd: MarkerStatistics): void;
|
||||
|
@ -266,7 +266,7 @@ export class MarkerService implements IMarkerService {
|
|||
toUpdate.errors += toAdd.errors;
|
||||
toUpdate.warnings += toAdd.warnings;
|
||||
toUpdate.infos += toAdd.infos;
|
||||
toUpdate.unknwons += toAdd.unknwons;
|
||||
toUpdate.unknowns += toAdd.unknowns;
|
||||
}
|
||||
|
||||
private _updateStatsMinus(toSubtract: MarkerStatistics): void;
|
||||
|
@ -279,7 +279,7 @@ export class MarkerService implements IMarkerService {
|
|||
toUpdate.errors -= toSubtract.errors;
|
||||
toUpdate.warnings -= toSubtract.warnings;
|
||||
toUpdate.infos -= toSubtract.infos;
|
||||
toUpdate.unknwons -= toSubtract.unknwons;
|
||||
toUpdate.unknowns -= toSubtract.unknowns;
|
||||
}
|
||||
|
||||
private _updateStatsMarker(toUpdate: MarkerStatistics, marker: IMarkerData): void {
|
||||
|
@ -294,7 +294,7 @@ export class MarkerService implements IMarkerService {
|
|||
toUpdate.infos++;
|
||||
break;
|
||||
default:
|
||||
toUpdate.unknwons++;
|
||||
toUpdate.unknowns++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,5 +68,5 @@ export interface MarkerStatistics {
|
|||
errors: number;
|
||||
warnings: number;
|
||||
infos: number;
|
||||
unknwons: number;
|
||||
unknowns: number;
|
||||
}
|
||||
|
|
|
@ -263,7 +263,7 @@ export class MarkersModel {
|
|||
return;
|
||||
}
|
||||
});
|
||||
return {errors: errors, warnings: warnings, infos: infos, unknwons: unknowns};
|
||||
return {errors, warnings, infos, unknowns};
|
||||
}
|
||||
|
||||
public dispose() : void {
|
||||
|
@ -294,7 +294,7 @@ export class MarkersModel {
|
|||
if (!onlyErrors) {
|
||||
label= this.getLabel(label, markerStatistics.warnings, Messages.MARKERS_PANEL_SINGLE_WARNING_LABEL, Messages.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL);
|
||||
label= this.getLabel(label, markerStatistics.infos, Messages.MARKERS_PANEL_SINGLE_INFO_LABEL, Messages.MARKERS_PANEL_MULTIPLE_INFOS_LABEL);
|
||||
label= this.getLabel(label, markerStatistics.unknwons, Messages.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL, Messages.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL);
|
||||
label= this.getLabel(label, markerStatistics.unknowns, Messages.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL, Messages.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL);
|
||||
}
|
||||
return label;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue