From d3a950cd0c6fd733e271becf92d70c43fecd0013 Mon Sep 17 00:00:00 2001 From: Mauko Quiroga Date: Tue, 28 Nov 2023 17:14:56 +0100 Subject: [PATCH] build(npm): applique les formatter (#191) --- .github/workflows/node.js.yml | 22 +++++++++++----------- src/views/bouquets/BouquetEditView.vue | 4 +++- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e7c1cbca5..467234c44 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,20 +5,20 @@ name: Run tests on: push: - branches: [ "main" ] + branches: ['main'] pull_request: - branches: [ "main" ] + branches: ['main'] jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: 18.x - cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: npm run test_single_run + - uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 18.x + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm run test_single_run diff --git a/src/views/bouquets/BouquetEditView.vue b/src/views/bouquets/BouquetEditView.vue index c60e0dbac..82e1447e2 100644 --- a/src/views/bouquets/BouquetEditView.vue +++ b/src/views/bouquets/BouquetEditView.vue @@ -109,7 +109,9 @@ const availabilityEnum = { } const goToDatasetPage = (id) => { - const url = config.website.menu_items.find((link) => link.linkPage === '/datasets') + const url = config.website.menu_items.find( + (link) => link.linkPage === '/datasets' + ) return `${url.linkPage}/${id}` }