Add proper version to --version

This commit is contained in:
Asher 2019-03-11 17:38:11 -05:00
parent 307aa4ae7f
commit 736feaba51
No known key found for this signature in database
GPG Key ID: 7BB4BA9C783D2BBC

View File

@ -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"));