mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
fix: only add enabled_logs when not empty
This commit is contained in:
parent
caf8d2a055
commit
34836e374f
@ -9,7 +9,10 @@ export class DebugService extends Service {
|
||||
const svc_exec = this.services.get('exec');
|
||||
svc_exec.register_param_provider(() => {
|
||||
return {
|
||||
enabled_logs: this.enabled_logs.join(';'),
|
||||
...(this.enabled_logs.length > 0
|
||||
? { enabled_logs: this.enabled_logs.join(';') }
|
||||
: {}
|
||||
),
|
||||
};
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user