encode wallet test parameters files as utf-8

This commit is contained in:
Josh Babb 2023-06-05 14:56:53 -07:00
parent 9ecb87206b
commit d78972307c

View file

@ -12,6 +12,6 @@ foreach ($coin in $coins) {
$WALLETTESTPARAMFILE = "..\test\services\coins\$coin\${coin}_wallet_test_parameters.dart" $WALLETTESTPARAMFILE = "..\test\services\coins\$coin\${coin}_wallet_test_parameters.dart"
if (-not (Test-Path $WALLETTESTPARAMFILE)) { if (-not (Test-Path $WALLETTESTPARAMFILE)) {
Write-Host "prebuild.ps1: creating template test/services/coins/$coin/${coin}_wallet_test_parameters.dart file" Write-Host "prebuild.ps1: creating template test/services/coins/$coin/${coin}_wallet_test_parameters.dart file"
"const TEST_MNEMONIC = "";" + "`nconst ROOT_WIF = "";" + "`nconst NODE_WIF_84 = "";" | Out-File -FilePath $WALLETTESTPARAMFILE "const TEST_MNEMONIC = "";" + "`nconst ROOT_WIF = "";" + "`nconst NODE_WIF_84 = "";" | Out-File -FilePath $WALLETTESTPARAMFILE -Encoding UTF8
} }
} }