Fix Microsoft.PowerShell.ConsoleHost/map.json
This commit is contained in:
parent
777ba09bce
commit
916d17e958
11
build.psm1
11
build.psm1
|
@ -841,7 +841,16 @@ function Get-Mappings
|
|||
{
|
||||
$map = @{}
|
||||
$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
|
||||
if ($KeepRelativePaths)
|
||||
{
|
||||
|
|
|
@ -30,5 +30,5 @@
|
|||
"monad/src/host/msh/resources/ManagedEntranceStrings.resx": "resources/ManagedEntranceStrings.resx",
|
||||
"monad/src/singleshell/installer/EngineInstaller.cs": "singleshell/installer/EngineInstaller.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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue