Closed nahueld closed 6 months ago
I already have a fix for this and I'm happy to push, the fix is:
const logFiles = readdirSync(resolve(dirname(fileURLToPath(import.meta.url)), '../logs'))
.filter(file => file.endsWith('.log'))
.map(file => join('./logs', file))
I already have a fix for this and I'm happy to push, the fix is:
Thanks for both fixes.
Please open PRs directly next time to propose the fix to ease its integration.
Duplicate issue
Component
Simulator
Description
handleRequestGetDiagnostics
is not pointing to the right directory, current code:Version
1.2.38
Node.js version
18
System
System: OS: macOS 13.6.4 CPU: (12) arm64 Apple M2 Pro Memory: 115.53 MB / 16.00 GB Shell: 5.9 - /opt/homebrew/Cellar/zsh/5.9/bin/zsh
Expected result
The path should point to the
logs
folder and logs should be uploaded to the FTP server.Actual result
No log files are found and this causes:
Steps to reproduce
Try to use GetDiagnostics
Attachments
No response