Skip to content

Commit 19d2ee3

Browse files
authored
Update APIs from main (#1856)
1 parent 583b80b commit 19d2ee3

19 files changed

+2467
-818
lines changed

.ci/make.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async function bump (args) {
9797
// this command can only be executed locally for now
9898
async function codegen (args) {
9999
assert(args.length === 1, 'Codegen task expects one parameter')
100-
const [version] = args
100+
const version = args[0].toString()
101101

102102
const clientGeneratorPath = join(import.meta.url, '..', '..', 'elastic-client-generator-js')
103103
const isGeneratorCloned = await $`[[ -d ${clientGeneratorPath} ]]`.exitCode === 0

.ci/make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ docker run \
145145
--name make-elasticsearch-js \
146146
--rm \
147147
$product \
148-
node .ci/make.mjs --task $TASK "${TASK_ARGS[@]}"
148+
node .ci/make.mjs --task $TASK ${TASK_ARGS[*]}
149149

150150
# ------------------------------------------------------- #
151151
# Post Command tasks & checks

0 commit comments

Comments
 (0)