Skip to content

Commit 736feab

Browse files
committed
Add proper version to --version
1 parent 307aa4a commit 736feab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Command, flags } from "@oclif/command";
44
import { fork, ForkOptions, ChildProcess } from "child_process";
55
import { randomFillSync } from "crypto";
66
import * as fs from "fs";
7-
import * as os from "os";
87
import * as path from "path";
98
import * as WebSocket from "ws";
109
import { createApp } from "./server";
@@ -244,5 +243,6 @@ export class Entry extends Command {
244243

245244
Entry.run(undefined, {
246245
root: buildDir || __dirname,
246+
version: process.env.VERSION || "development",
247247
//@ts-ignore
248248
}).catch(require("@oclif/errors/handle"));

0 commit comments

Comments
 (0)