Skip to content

Commit fd49805

Browse files
committed
bloat - remove unused code
1 parent 8deda8d commit fd49805

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/vs/base/common/objects.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,6 @@ export function equals(one: any, other: any): boolean {
177177
return true;
178178
}
179179

180-
export function ensureProperty(obj: any, property: string, defaultValue: any) {
181-
if (typeof obj[property] === 'undefined') {
182-
obj[property] = defaultValue;
183-
}
184-
}
185-
186180
export function arrayToHash(array: any[]) {
187181
const result: any = {};
188182
for (let i = 0; i < array.length; ++i) {

0 commit comments

Comments
 (0)