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:
parent
6355a17187
commit
b2d7bb72c7
@ -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();
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user