Skip to content

Commit d28d8d5

Browse files
fix(logging): remove console logs entries
1 parent 36b38f7 commit d28d8d5

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ local.properties
1515
.loadpath
1616
.DS_Store
1717
dump.rdb
18-
dist
18+
dist
19+
.env

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
coverage
44
docs
55
node_modules
6+
.pnpm-store
67
src/templates
78
CHANGELOG.md
9+
pnpm-lock.yaml
10+
pnpm-workspace.yaml

src/apiclient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ export class APIClient {
336336
body: this.getPOSTData(mycmd),
337337
headers: {
338338
"User-Agent": this.getUserAgent(),
339-
"Content-Type": "application/x-www-form-urlencoded"
339+
"Content-Type": "application/x-www-form-urlencoded",
340340
},
341341
method: "POST",
342342
timeout: APIClient.socketTimeout,

src/response.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ export class Response {
5555
}
5656

5757
this.raw = RT.translate(raw, cmd, ph);
58-
console.log(this.raw);
59-
console.log("-----------------------------------------");
6058
this.hash = RP.parse(this.raw);
6159
this.columnkeys = [];
6260
this.columns = [];

src/responsetemplatemanager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export class ResponseTemplateManager {
8484
if (this.hasTemplate(id)) {
8585
return new Response(id);
8686
}
87-
console.log("template id " + id);
8887
return new Response("notfound");
8988
}
9089

src/responsetranslator.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,7 @@ export class ResponseTranslator {
117117
} else {
118118
// Escape the pattern and attempt to find a match for it
119119
const escapedregex = preg_quote(regex);
120-
console.log(newraw);
121120
data = ResponseTranslator.findMatch(escapedregex, newraw, val, cmd, ph);
122-
console.log(newraw);
123121
}
124122

125123
// If a match is found, exit the outer loop

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./.github/linters/tsconfig.json",
33
"compilerOptions": {
4+
"rootDir": "./src",
45
"outDir": "./dist",
56
"types": ["node"]
67
},

0 commit comments

Comments
 (0)