Add proper version to --version
This commit is contained in:
parent
307aa4ae7f
commit
736feaba51
|
@ -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"));
|
||||||
|
|
Loading…
Reference in New Issue