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
Generated Vendored
+1
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
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
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