diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageAccount.json index 2e9b6489cc9b..1882feca2c92 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageAccount.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageAccount.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/regenerateStorageAccountKey.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/regenerateStorageAccountKey.json index 83863faae582..a7ff24178460 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/regenerateStorageAccountKey.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/regenerateStorageAccountKey.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/keyvault.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/keyvault.json index 9ca9959356dc..402c84ed3906 100644 --- a/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/keyvault.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/keyvault.json @@ -4757,4 +4757,4 @@ "description": "Client API version." } } -} +} \ No newline at end of file diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/2016-10-01/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/2016-10-01/keyvault.json index 6f2dac4550f8..5222a23906a9 100644 --- a/specification/keyvault/resource-manager/Microsoft.KeyVault/2016-10-01/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/2016-10-01/keyvault.json @@ -705,4 +705,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/test/util/utils.js b/test/util/utils.js index 9c7408973299..9a82d80f1463 100644 --- a/test/util/utils.js +++ b/test/util/utils.js @@ -109,7 +109,16 @@ exports.getFilesChangedInPR = function getFilesChangedInPR() { console.log('>>>>> Files changed in this PR are as follows:') console.log(filesChanged); swaggerFilesInPR = filesChanged.split('\n').filter(function (item) { - return (item.match(/.*\/swagger\/*/ig) !== null); + if (item.match(/.*json$/ig) == null) { + return false; + } + if (item.match(/.*\/examples\/*/ig) !== null) { + return false; + } + if (item.match(/.*\/quickstart-templates\/*/ig) !== null) { + return false; + } + return true; }); console.log(`>>>> Number of swaggers found in this PR: ${swaggerFilesInPR.length}`);