From 6f7a6dff62b91047544efc5e70d973ccdc36bf9f Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart <emmanuel@raviart.com> Date: Fri, 8 Sep 2023 11:52:57 +0200 Subject: [PATCH] Prettify --- gitlab-ci/src/gitlab-ci.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gitlab-ci/src/gitlab-ci.ts b/gitlab-ci/src/gitlab-ci.ts index a9e6dd133..660fdbb7d 100644 --- a/gitlab-ci/src/gitlab-ci.ts +++ b/gitlab-ci/src/gitlab-ci.ts @@ -208,9 +208,8 @@ async function main() { // `npm install @leximpact/socio-fiscal-openfisca-json@latest` has updated `package-lock.json`. // => Generate a new version of leximpact-socio-fiscal-api. const pkg = await fs.readJson(packagePath) - const nextVersionObject = await nextVersionObjectFromPackageAndTags( - pkg, - ) + const nextVersionObject = + await nextVersionObjectFromPackageAndTags(pkg) await commitAndPushWithUpdatedVersions(nextVersionObject) await triggerDevDeployPipeline() await triggerProdDeployPipeline() @@ -241,9 +240,8 @@ async function main() { await $`npm install @leximpact/socio-fiscal-openfisca-json@latest` const pkg = await fs.readJson(packagePath) - const nextVersionObject = await nextVersionObjectFromPackageAndTags( - pkg, - ) + const nextVersionObject = + await nextVersionObjectFromPackageAndTags(pkg) // Test project with the current dependencies (and latest @leximpact/socio-fiscal-openfisca-json). await $`ln -s example.env .env` -- GitLab