diff --git a/scripts/cts/client/generate.ts b/scripts/cts/client/generate.ts index b200bdff4e..01f7829b0a 100644 --- a/scripts/cts/client/generate.ts +++ b/scripts/cts/client/generate.ts @@ -71,6 +71,8 @@ export async function generateClientTests( ).start(); const testsBlocks = await loadTests(client); + await createOutputDir({ language, testPath }); + if (testsBlocks.length === 0) { spinner.warn("skipping because tests doesn't exist"); return; @@ -81,8 +83,6 @@ export async function generateClientTests( verbose ).start(); - await createOutputDir({ language, testPath }); - const { suite: template, ...partialTemplates } = await loadTemplates({ language, testPath, diff --git a/scripts/formatter.ts b/scripts/formatter.ts index 26876b997f..c93ce7d92b 100644 --- a/scripts/formatter.ts +++ b/scripts/formatter.ts @@ -13,7 +13,7 @@ export async function formatter( let cmd = ''; switch (language) { case 'javascript': - cmd = `yarn eslint --ext=ts ${folder} --fix`; + cmd = `yarn eslint --ext=ts ${folder} --fix --no-error-on-unmatched-pattern`; break; case 'java': cmd = `find ${folder} -type f -name "*.java" | xargs java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ diff --git a/specs/predict/spec.yml b/specs/predict/spec.yml index 7828757fb0..cd37917c46 100644 --- a/specs/predict/spec.yml +++ b/specs/predict/spec.yml @@ -14,6 +14,7 @@ servers: variables: region: enum: + - ue - ew default: ew security: