Skip to content

Commit 95a4960

Browse files
🩹 [Patch]: Update required version of Fonts module to 1.1.19 (#34)
## Description This pull request updates the module dependency version in the `Install-NerdFont` script to ensure compatibility with the latest features and fixes. - Fixes #33 Dependency update: * [`src/functions/public/Install-NerdFont.ps1`](diffhunk://#diff-805a4a6beeb97eef72e8ff0b1bb90dee541f9da03df2803ab0a42416e5a8e794L1-R1): Updated the required version of the `Fonts` module from `1.1.18` to `1.1.19`. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 31e4ec3 commit 95a4960

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

src/functions/public/Install-NerdFont.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Modules @{ ModuleName = 'Fonts'; RequiredVersion = '1.1.18' }
1+
#Requires -Modules @{ ModuleName = 'Fonts'; RequiredVersion = '1.1.19' }
22

33
function Install-NerdFont {
44
<#

tests/NerdFonts.Tests.ps1

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1-
Describe 'Module' {
1+
#Requires -Modules @{ ModuleName = 'Pester'; RequiredVersion = '5.7.1' }
2+
3+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
4+
'PSUseDeclaredVarsMoreThanAssignments', '',
5+
Justification = 'Pester grouping syntax: known issue.'
6+
)]
7+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
8+
'PSAvoidUsingConvertToSecureStringWithPlainText', '',
9+
Justification = 'Used to create a secure string for testing.'
10+
)]
11+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
12+
'PSAvoidUsingWriteHost', '',
13+
Justification = 'Log outputs to GitHub Actions logs.'
14+
)]
15+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute(
16+
'PSAvoidLongLines', '',
17+
Justification = 'Long test descriptions and skip switches'
18+
)]
19+
[CmdletBinding()]
20+
param()
21+
22+
Describe 'Module' {
223
Context 'Function: Get-NerdFont' {
324
It 'Returns all fonts' {
425
$fonts = Get-NerdFont

0 commit comments

Comments
 (0)