fix few bugs

This commit is contained in:
Olivier Gagnon
2021-11-22 11:36:13 -05:00
parent 626c1b49eb
commit 42518c3caa
18 changed files with 105 additions and 82 deletions
+57 -27
View File
@@ -4689,7 +4689,7 @@
},
{
"kind": "Content",
"text": ", fn: "
"text": ", filename: "
},
{
"kind": "Content",
@@ -4741,7 +4741,7 @@
}
},
{
"parameterName": "fn",
"parameterName": "filename",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
@@ -4771,7 +4771,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "getContractType(fn: "
"text": "getContractType(filename: "
},
{
"kind": "Content",
@@ -4807,7 +4807,7 @@
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterName": "filename",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
@@ -4826,11 +4826,11 @@
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!CodingContract#getData:member(1)",
"docComment": "/**\n * Get the input data.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Get the data associated with the specific Coding Contract. Note that this is not the same as the contracts description. This is just the data that the contract wants you to act on in order to solve\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns The specified contracts data;\n */\n",
"docComment": "/**\n * Get the input data.\n *\n * @remarks\n *\n * RAM cost: 5 GB\n *\n * Get the data associated with the specific Coding Contract. Note that this is not the same as the contracts description. This is just the data that the contract wants you to act on in order to solve\n *\n * @param filename - Filename of the contract.\n *\n * @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns The specified contracts data;\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getData(fn: "
"text": "getData(filename: "
},
{
"kind": "Content",
@@ -4866,7 +4866,7 @@
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterName": "filename",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
@@ -4889,7 +4889,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "getDescription(fn: "
"text": "getDescription(filename: "
},
{
"kind": "Content",
@@ -4925,7 +4925,7 @@
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterName": "filename",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
@@ -4948,7 +4948,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "getNumTriesRemaining(fn: "
"text": "getNumTriesRemaining(filename: "
},
{
"kind": "Content",
@@ -4984,7 +4984,7 @@
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterName": "filename",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
@@ -12899,7 +12899,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "getRunningScript(fn: "
"text": "getRunningScript(filename: "
},
{
"kind": "Content",
@@ -12944,7 +12944,7 @@
"overloadIndex": 1,
"parameters": [
{
"parameterName": "fn",
"parameterName": "filename",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
@@ -13963,6 +13963,14 @@
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": ", cores?: "
},
{
"kind": "Content",
"text": "number"
},
{
"kind": "Content",
"text": "): "
@@ -13978,8 +13986,8 @@
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
"startIndex": 7,
"endIndex": 8
},
"releaseTag": "Public",
"overloadIndex": 1,
@@ -13997,6 +14005,13 @@
"startIndex": 3,
"endIndex": 4
}
},
{
"parameterName": "cores",
"parameterTypeTokenRange": {
"startIndex": 5,
"endIndex": 6
}
}
],
"name": "growthAnalyze"
@@ -15390,15 +15405,15 @@
"excerptTokens": [
{
"kind": "Content",
"text": "scp(\n files: "
"text": "scp(files: "
},
{
"kind": "Content",
"text": "string[]"
"text": "string | string[]"
},
{
"kind": "Content",
"text": ",\n source: "
"text": ", source: "
},
{
"kind": "Content",
@@ -15406,7 +15421,7 @@
},
{
"kind": "Content",
"text": ",\n // tslint:disable-next-line:unified-signatures\n destination: "
"text": ", destination: "
},
{
"kind": "Content",
@@ -15414,7 +15429,7 @@
},
{
"kind": "Content",
"text": ",\n ): "
"text": "): "
},
{
"kind": "Reference",
@@ -16143,15 +16158,23 @@
{
"kind": "MethodSignature",
"canonicalReference": "bitburner!NS#tprintf:member(1)",
"docComment": "/**\n * Prints a raw value or a variable to the Terminal.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param msg - Value to be printed.\n */\n",
"docComment": "/**\n * Prints a raw value or a variable to the Terminal.\n *\n * @remarks\n *\n * RAM cost: 0 GB\n *\n * @param format - format of the message\n *\n * @param msg - Value to be printed.\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "tprintf(msg: "
"text": "tprintf(format: "
},
{
"kind": "Content",
"text": "any"
"text": "string"
},
{
"kind": "Content",
"text": ", ...values: "
},
{
"kind": "Content",
"text": "any[]"
},
{
"kind": "Content",
@@ -16168,18 +16191,25 @@
],
"isOptional": false,
"returnTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
"startIndex": 5,
"endIndex": 6
},
"releaseTag": "Public",
"overloadIndex": 1,
"parameters": [
{
"parameterName": "msg",
"parameterName": "format",
"parameterTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"parameterName": "values",
"parameterTypeTokenRange": {
"startIndex": 3,
"endIndex": 4
}
}
],
"name": "tprintf"
@@ -21232,7 +21262,7 @@
},
{
"kind": "Content",
"text": "<boolean>"
"text": "<void>"
},
{
"kind": "Content",