From 6dc109bdd532efd761e2e6ae5a415041dcc39cd4 Mon Sep 17 00:00:00 2001 From: Campion Fellin Date: Thu, 24 May 2018 21:21:50 -0700 Subject: [PATCH] Fix clasp run (#172) Signed-off-by: campionfellin --- index.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/index.ts b/index.ts index 95af81b6..c1a0082a 100755 --- a/index.ts +++ b/index.ts @@ -775,20 +775,14 @@ commander .command('run ') .description('Run a function in your Apps Scripts project') .action((functionName) => { - console.log('IN DEVELOPMENT'); - process.exit(0); - console.log('start run'); getAPICredentials(async () => { - console.log('got creds'); await checkIfOnline(); - console.log('online'); getProjectSettings().then(({ scriptId }: ProjectSettings) => { const params = { scriptId, function: functionName, - devMode: true, + devMode: false, }; - console.log('about to run'); script.scripts.run(params).then(response => { console.log(response.data); }).catch(e => {