diff --git a/index.ts b/index.ts index f8af6426..0a5c01d5 100755 --- a/index.ts +++ b/index.ts @@ -311,6 +311,8 @@ commander message : 'Clone which script? ', choices : fileIds, }]).then((answers: any) => { + answers.scriptId = answers.scriptId.substring(answers.scriptId.lastIndexOf('(') + 1, + answers.scriptId.length - 1); checkIfOnline(); spinner.setSpinnerTitle(LOG.CLONING); saveProjectId(answers.scriptId);