From 04158ea6791aa34fe4d3a7745becf13158ea2f46 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Tue, 25 Jan 2022 13:38:04 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20Rename=20`=E2=80=A6ws/package/compi?= =?UTF-8?q?le/events/api-gateway/lib/restApi.js`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugins/aws/package/compile/events/api-gateway/index.js | 2 +- .../compile/events/api-gateway/lib/{restApi.js => rest-api.js} | 0 .../api-gateway/lib/{restApi.test.js => rest-api.test.js} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename lib/plugins/aws/package/compile/events/api-gateway/lib/{restApi.js => rest-api.js} (100%) rename test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/{restApi.test.js => rest-api.test.js} (100%) diff --git a/lib/plugins/aws/package/compile/events/api-gateway/index.js b/lib/plugins/aws/package/compile/events/api-gateway/index.js index f9a7809f9..d1110be8f 100644 --- a/lib/plugins/aws/package/compile/events/api-gateway/index.js +++ b/lib/plugins/aws/package/compile/events/api-gateway/index.js @@ -6,7 +6,7 @@ const BbPromise = require('bluebird'); const memoize = require('memoizee'); const validate = require('./lib/validate'); -const compileRestApi = require('./lib/restApi'); +const compileRestApi = require('./lib/rest-api'); const compileRequestValidators = require('./lib/request-validator'); const compileApiKeys = require('./lib/api-keys'); const compileUsagePlan = require('./lib/usagePlan'); diff --git a/lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.js b/lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.js similarity index 100% rename from lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.js rename to lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.js diff --git a/test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.test.js b/test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.test.js similarity index 100% rename from test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/restApi.test.js rename to test/unit/lib/plugins/aws/package/compile/events/api-gateway/lib/rest-api.test.js