[CI] test built
This commit is contained in:
parent
2f38cd26bf
commit
74d2657c31
2 changed files with 8 additions and 1 deletions
8
dist/index.js
vendored
8
dist/index.js
vendored
|
@ -1781,7 +1781,13 @@ function readFile(path) {
|
|||
return fs.readFileSync(path, 'utf-8');
|
||||
}
|
||||
function readFileBase64(pathParts) {
|
||||
return fs.readFileSync(path.resolve(...pathParts)).toString('base64');
|
||||
const resolvedPath = path.resolve(...pathParts);
|
||||
if (fs.lstatSync(resolvedPath).isSymbolicLink()) {
|
||||
return fs
|
||||
.readlinkSync(resolvedPath, { encoding: 'buffer' })
|
||||
.toString('base64');
|
||||
}
|
||||
return fs.readFileSync(resolvedPath).toString('base64');
|
||||
}
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
function hasErrorCode(error) {
|
||||
|
|
1
report.txt
Normal file
1
report.txt
Normal file
|
@ -0,0 +1 @@
|
|||
1726680656
|
Loading…
Reference in a new issue