From 0d27d357dd46cea66bffc89f77ce716418f7ab88 Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Tue, 17 Dec 2019 13:30:36 -0800 Subject: [PATCH] Fixed linter warning --- build_release_windows.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_release_windows.ps1 b/build_release_windows.ps1 index 7e55363..f695807 100644 --- a/build_release_windows.ps1 +++ b/build_release_windows.ps1 @@ -1,7 +1,7 @@ -Get-ChildItem "Cargo.toml" | % { +Get-ChildItem "Cargo.toml" | ForEach-Object { $conf = $_ | Get-Content -raw $conf -match 'version\s+=\s+"(.*)"' | out-null - $POLARIS_VERSION = $matches[1] + $script:POLARIS_VERSION = $matches[1] } "Compiling resource file"