diff --git a/index.js b/index.js index 5b5476b..c9c5b60 100644 --- a/index.js +++ b/index.js @@ -204,7 +204,7 @@ function getProjectVersion(filePath) { } function updateProjectVersion(filePath, newVersion) { - const projectInfoFile = getFile(filePath); + let projectInfoFile = getFile(filePath); // Update the version if the file is .csproj if (filePath.match(/\.csproj/))