Skip to content

Commit fb1a93b

Browse files
committed
fix frontend faliure workflow
1 parent e5931e2 commit fb1a93b

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.github/workflows/workflow_backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: npm install --prefix backend
3434

3535
- name: Run ESLint
36-
run: cd.. && npm run format
36+
run: cd .. && npm run format
3737

3838
- name: Run Tests
3939
run: npm test --prefix backend

.github/workflows/workflow_frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: npm install --prefix frontend
3232

3333
- name: Run ESLint
34-
run: npx eslint . --ext .js,.jsx
34+
run: cd .. && npm run format
3535

3636
- name: Build
3737
run: npm run build

backend/utils/secToDuration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Helper function to convert total seconds to the duration format
2+
23
export default function convertSecondsToDuration (totalSeconds) {
34
const hours = Math.floor(totalSeconds / 3600)
45
const minutes = Math.floor((totalSeconds % 3600) / 60)

frontend/src/components/common/Footer.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { FooterLink2 } from '../../data/footer-links'
22
import { Link } from 'react-router-dom'
3-
// Images
43
import Logo from '../../assets/Logo/Logo-Full-Light.png'
5-
// Icons
64
import { FaFacebook, FaGoogle, FaTwitter, FaYoutube } from 'react-icons/fa'
75

86
const BottomFooter = ['Privacy Policy', 'Cookie Policy', 'Terms']

0 commit comments

Comments
 (0)