File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 240
240
</dict >
241
241
<dict >
242
242
<key >match </key >
243
- <string >(?i:([\S && [^ <> "/\|?*]]) +)(?i:\.(?i:exe|cmd|bat|ps1)) </string >
243
+ <string >(?i:[a-z][a-z0-9]+-?[a-z][a-z0-9] +)(?i:\.(?i:exe|cmd|bat|ps1)) </string >
244
244
<key >name </key >
245
245
<string >support.function.powershell </string >
246
246
</dict >
Original file line number Diff line number Diff line change @@ -55,10 +55,15 @@ function Get-MemberSignature {
55
55
}
56
56
}
57
57
58
+ foo " $ ( x) .exe"
59
+
58
60
function echo ([string ]$text ) {
59
61
write-host $text
60
62
}
61
63
64
+ $file = join-path $env: SystemDrive " $ ( [System.io.path ]::GetRandomFileName()) .ps1"
65
+ $ScriptBlock | Out-File $file - Force
66
+
62
67
# declarations should be consistent
63
68
function foo.bar () {}
64
69
Function foo () {}
You can’t perform that action at this time.
0 commit comments