From 93d9fdcca7632ed04fb789e0a3da1bb9ce44c43a Mon Sep 17 00:00:00 2001 From: Garrett Serack Date: Thu, 17 Jan 2019 08:59:39 -0800 Subject: [PATCH] removed extra fn --- perks | 2 +- .../lib/pipeline/plugins/enum-deduplication.ts | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/perks b/perks index 2cbfec570..f74452146 160000 --- a/perks +++ b/perks @@ -1 +1 @@ -Subproject commit 2cbfec57018cbcde3283b12d515b3e6194a1b952 +Subproject commit f744521463c40ee8547b72ae50aa1ab15e88b78c diff --git a/src/autorest-core/lib/pipeline/plugins/enum-deduplication.ts b/src/autorest-core/lib/pipeline/plugins/enum-deduplication.ts index ca5b5ec52..59b72d90b 100644 --- a/src/autorest-core/lib/pipeline/plugins/enum-deduplication.ts +++ b/src/autorest-core/lib/pipeline/plugins/enum-deduplication.ts @@ -4,14 +4,6 @@ import { PipelinePlugin } from '../common'; import { Dictionary, items } from '@microsoft.azure/linq'; import * as compareVersions from 'compare-versions'; -export function typeOf(obj: any) { - const t = typeof (obj); - return t === 'object' ? - Array.isArray(obj) ? - 'array' : - 'object' : - t; -} function getMaxApiVersion(apiVersions: Array): string { let result = '0';