18 Commits

Author SHA1 Message Date
Mariusz Nowak
2f8d186bb1
Seclude getConfigFilePath util 2019-06-28 13:32:52 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Daniel Schep
970a1cc3f8 refactor getServerlessConfigFile to simply accept a serverless object 2019-06-10 11:19:14 -04:00
Daniel Schep
94bf5a4382 delint 2019-06-10 11:19:14 -04:00
Daniel Schep
a1af588ccd improve memoization key for getServerlessConfigFile 2019-06-10 11:19:14 -04:00
Daniel Schep
2b81303370 --config option.
closes #5589
closes #4485
closes #4473
closes #4124
closes #5822
2019-06-10 11:19:14 -04:00
danielconde
0d16fbc182 export getServerlessConfigFilePath in getServerlessConfigFile.js module 2019-02-16 17:58:49 +00:00
danielconde
6508956da7 refactor getServerlessConfigFile to split getting the filePath responsability 2019-02-12 22:01:41 +00:00
Daniel Schep
dd4a49d7f5
Merge pull request #4827 from simonbuchan/config-promises
Support returning promises from serverless.js
2018-11-27 11:45:07 -05:00
Erik Erikson
553e6cf0da Provide Consistent Service Path
Fix #5242

Do this by first supplying the `servicePath` in `~/lib/plugins/lib/validate.js` and `~/lib/plugins/print.js` in a consistent manner with the code in `~/lib/classes/PluginManager.js`.  Then, provide a default of `process.cwd()` for `servicePath` in `getCacheFilePath` and `getServerlessConfigFile`.
2018-09-19 17:03:29 -07:00
Simon Buchan
33759c2736 Support returning promises from serverless.js 2018-03-14 19:50:52 +13:00
Pavel Vlasov
d05e45668e validate serverless.js to export plain object + address feedback 2017-12-20 08:50:10 +11:00
Pavel Vlasov
ea7c6620af fix eslint 2017-12-19 20:35:07 +11:00
Pavel Vlasov
bca4da55b3 add support for serverless.js 2017-12-19 20:14:39 +11:00
Philipp Muens
b43a421d38 Update code to re-use existing utils functionality 2017-06-12 11:13:01 +02:00
Eslam A. Hefnawy
cb14676e76 fixed tests for async autocomplete 2017-06-08 20:04:46 +07:00
Brian Neisler
851df3921a Make autocomplete async through promises 2017-06-07 18:40:05 -07:00
Eslam A. Hefnawy
5696513789 added cache file validation by hash to autocomplete 2017-06-08 01:27:11 +07:00