Skip to content

Commit 34567c5

Browse files
committed
Changed initial value of for loop indexer to 0 (from 1)
1 parent 5ef421e commit 34567c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/PowerShell.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@
646646
"for": {
647647
"prefix": "for",
648648
"body": [
649-
"for ($${variable:i} = 1; $${variable:i} -lt $${array}.Count; $${variable:i}++) {",
649+
"for ($${variable:i} = 0; $${variable:i} -lt $${array}.Count; $${variable:i}++) {",
650650
"\t$0",
651651
"}"
652652
],

0 commit comments

Comments
 (0)