Move changelog loading to server
Summary: per title Reviewed By: aigoncharov Differential Revision: D32723706 fbshipit-source-id: ce5108da9f5da6fdfa7d1a66a31a4f8f430eb78d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
eab4f0d3d3
commit
129cbd6f7b
@@ -37,6 +37,7 @@ import {KeytarManager} from './utils/keytar';
|
||||
import {PluginManager} from './plugins/PluginManager';
|
||||
import {runHealthcheck, getHealthChecks} from './utils/runHealthchecks';
|
||||
import {openFile} from './utils/openFile';
|
||||
import {getChangelog} from './utils/pathUtils';
|
||||
|
||||
/**
|
||||
* FlipperServer takes care of all incoming device & client connections.
|
||||
@@ -195,6 +196,7 @@ export class FlipperServerImpl implements FlipperServer {
|
||||
|
||||
private commandHandler: FlipperServerCommands = {
|
||||
'get-config': async () => this.config,
|
||||
'get-changelog': getChangelog,
|
||||
'device-start-logging': async (serial: string) =>
|
||||
this.getDevice(serial).startLogging(),
|
||||
'device-stop-logging': async (serial: string) =>
|
||||
|
||||
Reference in New Issue
Block a user