Skip to content

Commit 8ebba55

Browse files
committed
Remove diagnostic step and fix a bona fide linter error
1 parent 6d34e82 commit 8ebba55

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77
branches:
88
- master
99
paths:
10+
- '**.cjs'
1011
- '**.css'
1112
- '**.html'
1213
- '**.js'
1314
- '**.json'
1415
- '**.jsx'
1516
- '**.md'
17+
- '**.mjs'
1618
- '**.sass'
1719
- '**.scss'
1820
- '**.ts'
@@ -24,12 +26,14 @@ on:
2426
branches:
2527
- master
2628
paths:
29+
- '**.cjs'
2730
- '**.css'
2831
- '**.html'
2932
- '**.js'
3033
- '**.json'
3134
- '**.jsx'
3235
- '**.md'
36+
- '**.mjs'
3337
- '**.sass'
3438
- '**.scss'
3539
- '**.ts'
@@ -58,13 +62,8 @@ jobs:
5862
- name: Install Node.js dependencies
5963
run: npm install
6064

61-
- name: Diagnostic
62-
run: |
63-
echo "Repo: ${{ github.repository }} --- $GITHUB_REPOSITORY"
64-
echo "Event Name: ${{ github.event_name }} --- $GITHUB_EVENT_NAME"
65-
6665
# If we are running for a push on the main repo, go ahead and auto-fix issues
67-
- name: Lint and format
66+
- name: Lint and auto-format
6867
uses: rkuykendall/lint-action@master
6968
if: ${{ github.repository == 'Wingysam/Christmas-Community' && github.event_name == 'push' }}
7069
with:

src/routes/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import publicRoute from '../middlewares/publicRoute.js'
22
import express from 'express'
33
import path from 'path'
4-
import fs from 'fs/promises'
54
import ensurePfp from '../utils/ensurePfp.js'
65

76
import Api from './api/index.js'

0 commit comments

Comments
 (0)