We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d038f74 commit 627f9eaCopy full SHA for 627f9ea
index.js
@@ -40,10 +40,13 @@ async function runServerlessDeploy() {
40
}
41
42
// Main function
43
-(async () => {
44
- if (require.main === module) {
45
- await installDocker()
46
- await installServerlessAndPlugins()
47
- await runServerlessDeploy()
48
- }
49
-})();
+async handler() {
+ await installDocker()
+ await installServerlessAndPlugins()
+ await runServerlessDeploy()
+}
+
50
+if (require.main === module) {
51
+ handler()
52
0 commit comments