Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error "Index was outside the bounds of the array" when using StrictMode #40

Closed
thorstenkampe opened this issue Jan 17, 2021 · 1 comment · Fixed by #43
Closed

error "Index was outside the bounds of the array" when using StrictMode #40

thorstenkampe opened this issue Jan 17, 2021 · 1 comment · Fixed by #43

Comments

@thorstenkampe
Copy link

~ powershell
❯ Set-StrictMode -Version latest

~ powershell
❯ F:\scoop\apps\winfetch\current\winfetch.ps1

                     ....,,:;+ccllll   thorsten@rednails
       ...,,+:;  cllllllllllllllllll   -----------------
 ,cclllllllllll  lllllllllllllllllll   OS: Windows 10 Pro [64-Bit] (10.0.19042)
 llllllllllllll  lllllllllllllllllll   Host: FUJITSU LIFEBOOK A556/G
 llllllllllllll  lllllllllllllllllll   Uptime: 5 hours 26 minutes
 llllllllllllll  lllllllllllllllllll   Packages: 100 (scoop)
 llllllllllllll  lllllllllllllllllll   PowerShell: PowerShell v7.1.1
 llllllllllllll  lllllllllllllllllll   Terminal: ConEmuC
                                       CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
 llllllllllllll  lllllllllllllllllll   GPU: Intel(R) HD Graphics 520 AMD Radeon (TM) R7 M360
 llllllllllllll  lllllllllllllllllll   Memory: 11,6 GiB / 15,9 GiB
 llllllllllllll  lllllllllllllllllll   Disk (C:): 104GiB / 475GiB (21%)
 llllllllllllll  lllllllllllllllllll
 llllllllllllll  lllllllllllllllllll
 `'ccllllllllll  lllllllllllllllllll
       `' \\*::  :ccllllllllllllllll
                        ````''*::cll
                                  ``
winfetch.ps1: Index was outside the bounds of the array.
@jcwillox
Copy link
Member

Just checked out this issue and it appears to be an easy fix 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants