github-advanced-security[bot] commented on code in PR #1790: URL: https://github.com/apache/cordova-android/pull/1790#discussion_r2006957111
########## lib/builders/ProjectBuilder.js: ########## @@ -301,7 +301,7 @@ if (fs.existsSync(signingPropertiesPath)) fs.rmSync(signingPropertiesPath); if (opts.packageInfo) { - fs.ensureFileSync(signingPropertiesPath); + fs.writeFileSync(signingPropertiesPath, '', 'utf8'); Review Comment: ## Potential file system race condition The file may have changed since it [was checked](1). [Show more details](https://github.com/apache/cordova-android/security/code-scanning/194) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org