diff --git a/src/run.ts b/src/run.ts index ae528a5af..94ab35575 100644 --- a/src/run.ts +++ b/src/run.ts @@ -222,9 +222,7 @@ async function list_topics(options: { stage: string | undefined }) { * All valid arguments to dev should be enumerated here, this is the entrypoint to the script */ yargs(process.argv.slice(2)) - .command("local", "run system locally", {}, () => { - run_all_locally(); - }) + .command("local", "run system locally", {}, run_all_locally) .command( "test", "run all tests", diff --git a/src/slsV4BucketPolicies.ts b/src/slsV4BucketPolicies.ts index 6ef138ada..11c33efde 100644 --- a/src/slsV4BucketPolicies.ts +++ b/src/slsV4BucketPolicies.ts @@ -71,5 +71,3 @@ export async function addSlsBucketPolicies() { } } } - -addSlsBucketPolicies();