Add debugging
This commit is contained in:
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
@@ -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
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user