Update APIs from main (#1856)

This commit is contained in:
Josh Mock
2023-05-01 16:00:56 -05:00
committed by GitHub
parent 583b80bdfa
commit 19d2ee324f
19 changed files with 2473 additions and 824 deletions

View File

@ -97,7 +97,7 @@ async function bump (args) {
// this command can only be executed locally for now
async function codegen (args) {
assert(args.length === 1, 'Codegen task expects one parameter')
const [version] = args
const version = args[0].toString()
const clientGeneratorPath = join(import.meta.url, '..', '..', 'elastic-client-generator-js')
const isGeneratorCloned = await $`[[ -d ${clientGeneratorPath} ]]`.exitCode === 0