Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 28f227f

Browse files
committed
ci: linter fix unusedVariables
1 parent 7681661 commit 28f227f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/images.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const load = async () => {
77
try {
88
images = import.meta.glob('~/assets/images/**/*.{jpeg,jpg,png,tiff,webp,gif,svg,JPEG,JPG,PNG,TIFF,WEBP,GIF,SVG}');
99
// eslint-disable-next-line @typescript-eslint/no-unused-vars
10-
} catch (error) {
10+
} catch (_error) {
1111
// continue regardless of error
1212
}
1313
return images;

vendor/integration/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default ({ config: _themeConfig = 'src/config.yaml' } = {}): AstroIntegra
110110
}
111111
}
112112
// eslint-disable-next-line @typescript-eslint/no-unused-vars
113-
} catch (error) {
113+
} catch (_error) {
114114
/* empty */
115115
}
116116
},

0 commit comments

Comments
 (0)