Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
g0t4 committed Dec 11, 2024
1 parent 163e66b commit d8752ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { execFileWithInput, ExecResult } from "./exec-utils.js";

import { createRequire } from "module";
const require = createRequire(import.meta.url);
const pkg = require("../package.json");
const { name: package_name, version: package_version } = require("../package.json");

// TODO use .promises? in node api
const execAsync = promisify(exec);
Expand All @@ -31,8 +31,8 @@ if (process.argv.includes("--verbose")) {

const server = new Server(
{
name: pkg.name,
version: pkg.version,
name: package_name,
version: package_version,
//description: "Run commands on this " + os.platform() + " machine",
},
{
Expand Down

0 comments on commit d8752ee

Please sign in to comment.