Skip to content

Commit

Permalink
fixes in file tampering summary
Browse files Browse the repository at this point in the history
  • Loading branch information
raianand committed Sep 5, 2024
1 parent 21fa8d9 commit 6dc0bd9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/audit_summary.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const core = require('@actions/core')
const path = require('path')
const path = require('node:path')

const { generateTestResults, getUniqueBy } = require('./summary_utils')

Expand Down Expand Up @@ -95,6 +95,8 @@ async function checkForBuildTampering() {
const cwd = log.process.cwd
const filePath = log.file.path

console.log(filePath)
console.log(log)
// Check if the file path is already absolute
const fullFilePath = path.isAbsolute(filePath)
? filePath
Expand Down
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const releaseVersion = 'v1.7.0-rc.4'
const releaseVersion = 'v1.7.0-rc.5'

module.exports = {
releaseVersion
Expand Down

0 comments on commit 6dc0bd9

Please sign in to comment.