Add debugging
This commit is contained in:
+1
@@ -847,6 +847,7 @@ function findLineColNumbers(manifest, packageName) {
|
|||||||
core.error(`Error reading file: ${fileName}`);
|
core.error(`Error reading file: ${fileName}`);
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
core.debug(`File: ${fileName}, contents: ${data}`);
|
||||||
// split the file into lines
|
// split the file into lines
|
||||||
const lines = data.split('\n');
|
const lines = data.split('\n');
|
||||||
// search for the package name in the file
|
// search for the package name in the file
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -416,6 +416,8 @@ async function findLineColNumbers(
|
|||||||
core.error(`Error reading file: ${fileName}`)
|
core.error(`Error reading file: ${fileName}`)
|
||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
core.debug(`File: ${fileName}, contents: ${data}`)
|
||||||
// split the file into lines
|
// split the file into lines
|
||||||
const lines = data.split('\n')
|
const lines = data.split('\n')
|
||||||
// search for the package name in the file
|
// search for the package name in the file
|
||||||
|
|||||||
Reference in New Issue
Block a user