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
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,6 @@ import { Command, flags } from "@oclif/command";
import { fork, ForkOptions, ChildProcess } from "child_process"; import { fork, ForkOptions, ChildProcess } from "child_process";
import { randomFillSync } from "crypto"; import { randomFillSync } from "crypto";
import * as fs from "fs"; import * as fs from "fs";
import * as os from "os";
import * as path from "path"; import * as path from "path";
import * as WebSocket from "ws"; import * as WebSocket from "ws";
import { createApp } from "./server"; import { createApp } from "./server";
@ -244,5 +243,6 @@ export class Entry extends Command {
Entry.run(undefined, { Entry.run(undefined, {
root: buildDir || __dirname, root: buildDir || __dirname,
version: process.env.VERSION || "development",
//@ts-ignore //@ts-ignore
}).catch(require("@oclif/errors/handle")); }).catch(require("@oclif/errors/handle"));