1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 19:03:02 +01:00

[mv3] Write log.txt file to extension folder

This commit is contained in:
Raymond Hill 2024-11-20 12:55:13 -05:00
parent 6355a17187
commit b2d7bb72c7
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 2 additions and 1 deletions

View File

@ -1351,7 +1351,7 @@ async function main() {
// Log results
const logContent = stdOutput.join('\n') + '\n';
await fs.writeFile(`${cacheDir}/log.txt`, logContent);
await fs.writeFile(`${outputDir}/log.txt`, logContent);
}
main();

View File

@ -161,6 +161,7 @@ if [ "$FULL" = "yes" ]; then
mkdir -p "$TMPDIR"
cp -R "$DES"/* "$TMPDIR"/
cd "$TMPDIR" > /dev/null
rm -f ./log.txt
zip "$PACKAGENAME" -qr ./*
cd - > /dev/null
cp "$TMPDIR"/"$PACKAGENAME" dist/build/