mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
Change import declaration of arg library (#962)
This commit is contained in:
parent
1dac133ef4
commit
4db4b77954
@ -1,7 +1,7 @@
|
|||||||
import { Terminal } from "../../Terminal";
|
import { Terminal } from "../../Terminal";
|
||||||
import { BaseServer } from "../../Server/BaseServer";
|
import { BaseServer } from "../../Server/BaseServer";
|
||||||
import { matchScriptPathUnanchored } from "../../utils/helpers/scriptKey";
|
import { matchScriptPathUnanchored } from "../../utils/helpers/scriptKey";
|
||||||
import * as libarg from "arg";
|
import libarg from "arg";
|
||||||
|
|
||||||
export function ps(args: (string | number | boolean)[], server: BaseServer): void {
|
export function ps(args: (string | number | boolean)[], server: BaseServer): void {
|
||||||
let flags;
|
let flags;
|
||||||
|
@ -3,7 +3,7 @@ import { BaseServer } from "../../Server/BaseServer";
|
|||||||
import { LogBoxEvents } from "../../ui/React/LogBoxManager";
|
import { LogBoxEvents } from "../../ui/React/LogBoxManager";
|
||||||
import { startWorkerScript } from "../../NetscriptWorker";
|
import { startWorkerScript } from "../../NetscriptWorker";
|
||||||
import { RunningScript } from "../../Script/RunningScript";
|
import { RunningScript } from "../../Script/RunningScript";
|
||||||
import * as libarg from "arg";
|
import libarg from "arg";
|
||||||
import { formatRam } from "../../ui/formatNumber";
|
import { formatRam } from "../../ui/formatNumber";
|
||||||
import { ScriptArg } from "@nsdefs";
|
import { ScriptArg } from "@nsdefs";
|
||||||
import { isPositiveInteger } from "../../types";
|
import { isPositiveInteger } from "../../types";
|
||||||
|
@ -7,7 +7,7 @@ import { HelpTexts } from "./HelpText";
|
|||||||
import { compile } from "../NetscriptJSEvaluator";
|
import { compile } from "../NetscriptJSEvaluator";
|
||||||
import { Flags } from "../NetscriptFunctions/Flags";
|
import { Flags } from "../NetscriptFunctions/Flags";
|
||||||
import { AutocompleteData } from "@nsdefs";
|
import { AutocompleteData } from "@nsdefs";
|
||||||
import * as libarg from "arg";
|
import libarg from "arg";
|
||||||
import { getAllDirectories, resolveDirectory, root } from "../Paths/Directory";
|
import { getAllDirectories, resolveDirectory, root } from "../Paths/Directory";
|
||||||
import { resolveScriptFilePath } from "../Paths/ScriptFilePath";
|
import { resolveScriptFilePath } from "../Paths/ScriptFilePath";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user