Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-bravo-yahoo committed Oct 31, 2024
1 parent 18a85ea commit 3868cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/config/setup-container.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { confirm } from "@inquirer/prompts";
import * as awilix from "awilix";
import { Lifetime } from "awilix";
import open from "open";
import updateNotifier from "update-notifier";

import { parseYargs } from "../cli.mjs";
import { performQuery } from "../commands/eval.mjs";
Expand Down Expand Up @@ -60,6 +61,7 @@ export const injectables = {
// third-party libraries
confirm: awilix.asValue(confirm),
open: awilix.asValue(open),
updateNotifier: awilix.asValue(updateNotifier),

// generic lib (homemade utilities)
parseYargs: awilix.asValue(parseYargs),
Expand Down
2 changes: 1 addition & 1 deletion src/lib/middleware.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function fixPaths(argv) {

export function checkForUpdates(argv) {
// TODO: figure out upgrade path for SEA installations
if (!isSea()) return argv;
if (isSea()) return argv;

const __filename = fileURLToPath(import.meta.url);
let __dirname = path.dirname(__filename);
Expand Down

0 comments on commit 3868cb3

Please sign in to comment.