mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
rm consolelog
This commit is contained in:
parent
e6b263e6ec
commit
f111beb399
@ -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") {
|
||||||
|
Loading…
Reference in New Issue
Block a user