Add debugging

This commit is contained in:
Justin Hutchings
2024-03-08 03:00:15 +00:00
parent 5ba0d0fe17
commit 5bc19761c5
3 changed files with 4 additions and 1 deletions

1
dist/index.js generated vendored
View File

@@ -847,6 +847,7 @@ function findLineColNumbers(manifest, packageName) {
core.error(`Error reading file: ${fileName}`);
throw err;
}
core.debug(`File: ${fileName}, contents: ${data}`);
// split the file into lines
const lines = data.split('\n');
// search for the package name in the file

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -416,6 +416,8 @@ async function findLineColNumbers(
core.error(`Error reading file: ${fileName}`)
throw err
}
core.debug(`File: ${fileName}, contents: ${data}`)
// split the file into lines
const lines = data.split('\n')
// search for the package name in the file