From 3190e79c872f51092762f0335e4a16f535c6156b Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 19 Sep 2023 21:42:53 -0500 Subject: [PATCH] fix log file --- .ci/test_r_package_windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/test_r_package_windows.ps1 b/.ci/test_r_package_windows.ps1 index 3b735bdd36f6..52d47effcad7 100644 --- a/.ci/test_r_package_windows.ps1 +++ b/.ci/test_r_package_windows.ps1 @@ -205,7 +205,7 @@ if ($env:COMPILER -ne "MSVC") { # Checking that the correct R version was used if ($env:TOOLCHAIN -ne "MSVC") { - $checks = Select-String -Path "${INSTALL_LOG_FILE_NAME}" -Pattern "using R version $env:R_WINDOWS_VERSION" + $checks = Select-String -Path "${LOG_FILE_NAME}" -Pattern "using R version $env:R_WINDOWS_VERSION" $checks_cnt = $checks.Matches.length } else { $checks = Select-String -Path "${INSTALL_LOG_FILE_NAME}" -Pattern "R version passed into FindLibR.* $env:R_WINDOWS_VERSION"