From 419b71078db8686bd4fd0dc6dedf36f5f2eb04ff Mon Sep 17 00:00:00 2001 From: Austen Collins Date: Fri, 11 Dec 2015 02:31:30 -0800 Subject: [PATCH] Utilities: Accidently saved to serverless.json instead of s-project.json --- lib/Serverless.js | 2 +- lib/utils/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Serverless.js b/lib/Serverless.js index af40aced0..4e06d7d30 100644 --- a/lib/Serverless.js +++ b/lib/Serverless.js @@ -66,7 +66,7 @@ class Serverless { * Validate Project * Ensures: * - valid SERVERLESS project found - * - proj serverless.json has one valid region and stage + * - proj s-project.json has one valid region and stage */ validateProject() { diff --git a/lib/utils/index.js b/lib/utils/index.js index 5894b3258..c9f05b985 100644 --- a/lib/utils/index.js +++ b/lib/utils/index.js @@ -609,7 +609,7 @@ exports.saveRegionalApi = function(projectJawsJson, regionName, restApiId, rootP } } - fs.writeFileSync(path.join(rootPath, 'serverless.json'), JSON.stringify(projectJawsJson, null, 2)); + fs.writeFileSync(path.join(rootPath, 's-project.json'), JSON.stringify(projectJawsJson, null, 2)); }; function pathToContext(path) {