Utilities: Accidently saved to serverless.json instead of s-project.json

This commit is contained in:
Austen Collins 2015-12-11 02:31:30 -08:00
parent 7b32a1a9bb
commit 419b71078d
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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) {