mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Utilities: Accidently saved to serverless.json instead of s-project.json
This commit is contained in:
parent
7b32a1a9bb
commit
419b71078d
@ -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() {
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user