@optique/core 1.0.15-dev.2784 → 1.0.15-dev.2789
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/completion.cjs +2 -2
- package/dist/completion.js +2 -2
- package/package.json +1 -1
package/dist/completion.cjs
CHANGED
|
@@ -1337,7 +1337,7 @@ ${escapedArgs ? ` \$completionArgs += @(${escapedArgs})
|
|
|
1337
1337
|
\$extList = (\$extensions -split ',') -replace '^\\.',''
|
|
1338
1338
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue |
|
|
1339
1339
|
Where-Object {
|
|
1340
|
-
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -
|
|
1340
|
+
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -cin \$extList)
|
|
1341
1341
|
}
|
|
1342
1342
|
} else {
|
|
1343
1343
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue
|
|
@@ -1352,7 +1352,7 @@ ${escapedArgs ? ` \$completionArgs += @(${escapedArgs})
|
|
|
1352
1352
|
\$extList = (\$extensions -split ',') -replace '^\\.',''
|
|
1353
1353
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue |
|
|
1354
1354
|
Where-Object {
|
|
1355
|
-
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -
|
|
1355
|
+
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -cin \$extList)
|
|
1356
1356
|
}
|
|
1357
1357
|
} else {
|
|
1358
1358
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue
|
package/dist/completion.js
CHANGED
|
@@ -1337,7 +1337,7 @@ ${escapedArgs ? ` \$completionArgs += @(${escapedArgs})
|
|
|
1337
1337
|
\$extList = (\$extensions -split ',') -replace '^\\.',''
|
|
1338
1338
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue |
|
|
1339
1339
|
Where-Object {
|
|
1340
|
-
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -
|
|
1340
|
+
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -cin \$extList)
|
|
1341
1341
|
}
|
|
1342
1342
|
} else {
|
|
1343
1343
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue
|
|
@@ -1352,7 +1352,7 @@ ${escapedArgs ? ` \$completionArgs += @(${escapedArgs})
|
|
|
1352
1352
|
\$extList = (\$extensions -split ',') -replace '^\\.',''
|
|
1353
1353
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue |
|
|
1354
1354
|
Where-Object {
|
|
1355
|
-
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -
|
|
1355
|
+
\$_.PSIsContainer -or ((\$_.Extension -replace '^\\.','' ) -cin \$extList)
|
|
1356
1356
|
}
|
|
1357
1357
|
} else {
|
|
1358
1358
|
\$items = Get-ChildItem @forceParam -Path \$globPath -ErrorAction SilentlyContinue
|