mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 02:22:23 +01:00
rm consolelog
This commit is contained in:
@ -99,7 +99,6 @@ export function ParseCommand(command: string): (string | number | boolean)[] {
|
|||||||
const arg = command.substr(start, i - start);
|
const arg = command.substr(start, i - start);
|
||||||
|
|
||||||
// If this is a number, convert it from a string to number
|
// If this is a number, convert it from a string to number
|
||||||
console.log(arg);
|
|
||||||
if (isNumber(arg)) {
|
if (isNumber(arg)) {
|
||||||
args.push(parseFloat(arg));
|
args.push(parseFloat(arg));
|
||||||
} else if (arg === "true") {
|
} else if (arg === "true") {
|
||||||
@ -120,7 +119,6 @@ export function ParseCommand(command: string): (string | number | boolean)[] {
|
|||||||
const arg = command.substr(start, i - start);
|
const arg = command.substr(start, i - start);
|
||||||
|
|
||||||
// If this is a number, convert it from string to number
|
// If this is a number, convert it from string to number
|
||||||
console.log(arg);
|
|
||||||
if (isNumber(arg)) {
|
if (isNumber(arg)) {
|
||||||
args.push(parseFloat(arg));
|
args.push(parseFloat(arg));
|
||||||
} else if (arg === "true") {
|
} else if (arg === "true") {
|
||||||
|
Reference in New Issue
Block a user