From f8b983f60cfbe5c08d6b61fde3d62f9dad2be040 Mon Sep 17 00:00:00 2001 From: qiaozha Date: Wed, 25 Dec 2019 13:39:36 +0800 Subject: [PATCH] change to indexof notag --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 08b0d0a..bc8fb18 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,7 +40,7 @@ extension.Add("cli.common", async autoRestApi => { }); // emit a file (all input files concatenated) - autoRestApi.WriteFile("code-model-v4-cli.yaml", inputFiles[1]); + autoRestApi.WriteFile("code-model-v4-cli.yaml", inputFiles[inputFileUris.indexOf("code-model-v4-no-tags.yaml")]); } catch (e) {