mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fix Microsoft.PowerShell.ConsoleHost/map.json
This commit is contained in:
1 parent
777ba09bce
commit
916d17e958
2 files changed
+11
-2
No files matched your search
+10
-1
@@ -841,7 +841,16 @@ function Get-Mappings
|
|||||||
{
|
{
|
||||||
$map = @{}
|
$map = @{}
|
||||||
$mapFiles | % {
|
$mapFiles | % {
|
||||||
$rawHashtable = $_ | Get-Content -Raw | ConvertFrom-Json | Convert-PSObjectToHashtable
|
$file = $_
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$rawHashtable = $_ | Get-Content -Raw | ConvertFrom-Json | Convert-PSObjectToHashtable
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
Write-Error "Exception, when processing $($file.FullName): $_"
|
||||||
|
}
|
||||||
|
|
||||||
$mapRoot = Split-Path $_.FullName
|
$mapRoot = Split-Path $_.FullName
|
||||||
if ($KeepRelativePaths)
|
if ($KeepRelativePaths)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,5 +30,5 @@
|
|||||||
"monad/src/host/msh/resources/ManagedEntranceStrings.resx": "resources/ManagedEntranceStrings.resx",
|
"monad/src/host/msh/resources/ManagedEntranceStrings.resx": "resources/ManagedEntranceStrings.resx",
|
||||||
"monad/src/singleshell/installer/EngineInstaller.cs": "singleshell/installer/EngineInstaller.cs",
|
"monad/src/singleshell/installer/EngineInstaller.cs": "singleshell/installer/EngineInstaller.cs",
|
||||||
"monad/src/host/msh/ConsoleHostRawUserInterface.cs": "host/msh/ConsoleHostRawUserInterface.cs",
|
"monad/src/host/msh/ConsoleHostRawUserInterface.cs": "host/msh/ConsoleHostRawUserInterface.cs",
|
||||||
"monad/src/host/msh/ConsoleHost.cs": "host/msh/ConsoleHost.cs",
|
"monad/src/host/msh/ConsoleHost.cs": "host/msh/ConsoleHost.cs"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user