Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isNew: true,
ast,
persister
}
})
//
// otherwise, open the in-Shell editor
// then update the editor to show the placeholder action
// then send a response back to the repl
//
return betterNotExist(name, options)
.then(() => Promise.all([makeAction(), openEditor(tab, name, options, execOptions)]))
.then(prepareEditorWithAction)
.then(addWskflow(tab))
.then(respondToRepl(undefined, ['is-modified']))
}
exec: { kind, prettyKind, code },
isNew: true,
ast,
persister
}
})
//
// otherwise, open the in-Shell editor
// then update the editor to show the placeholder action
// then send a response back to the repl
//
return betterNotExist(name, options)
.then(() => Promise.all([makeAction(), openEditor(tab, name, options, execOptions)]))
.then(prepareEditorWithAction)
.then(respondToRepl(undefined, ['is-modified']))
}