Skip to content

Commit d857a11

Browse files
committed
Comments
1 parent 66e2ad3 commit d857a11

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/server/src/server/services/remoteConfigService/commands.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ import { isEmpty } from "@server/helpers/utils";
22
import { Server } from "@server";
33

44

5+
// This whole file was bascially cribbed from main.ts. I imagine the code should
6+
// be consolidated and extracted somwhere.
7+
8+
59
function quickStrConvert (val: string) {
610
if (val.toLowerCase() === "true") return true;
711
if (val.toLowerCase() === "false") return false;

packages/server/src/server/services/remoteConfigService/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export class RemoteConfigService {
1414
socketPath: string;
1515

1616
constructor () {
17+
// not sure if this socketPath stuff belongs in fileSystem/index.ts
1718
const isDev = process.env.NODE_ENV !== "production";
1819
this.socketPath = app.getPath("userData");
1920
if (isDev) {

0 commit comments

Comments
 (0)