From 736feaba51c775ed3ad690f95565fde4e8acbb12 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 11 Mar 2019 17:38:11 -0500 Subject: [PATCH] Add proper version to --version --- packages/server/src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/cli.ts b/packages/server/src/cli.ts index 5fb25172b..5e8ee02c7 100644 --- a/packages/server/src/cli.ts +++ b/packages/server/src/cli.ts @@ -4,7 +4,6 @@ import { Command, flags } from "@oclif/command"; import { fork, ForkOptions, ChildProcess } from "child_process"; import { randomFillSync } from "crypto"; import * as fs from "fs"; -import * as os from "os"; import * as path from "path"; import * as WebSocket from "ws"; import { createApp } from "./server"; @@ -244,5 +243,6 @@ export class Entry extends Command { Entry.run(undefined, { root: buildDir || __dirname, + version: process.env.VERSION || "development", //@ts-ignore }).catch(require("@oclif/errors/handle"));