Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ local.properties
.loadpath
.DS_Store
dump.rdb
dist
dist
.env
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
coverage
docs
node_modules
.pnpm-store
src/templates
CHANGELOG.md
pnpm-lock.yaml
pnpm-workspace.yaml
2 changes: 1 addition & 1 deletion src/apiclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export class APIClient {
body: this.getPOSTData(mycmd),
headers: {
"User-Agent": this.getUserAgent(),
"Content-Type": "application/x-www-form-urlencoded"
"Content-Type": "application/x-www-form-urlencoded",
},
method: "POST",
timeout: APIClient.socketTimeout,
Expand Down
2 changes: 0 additions & 2 deletions src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ export class Response {
}

this.raw = RT.translate(raw, cmd, ph);
console.log(this.raw);
console.log("-----------------------------------------");
this.hash = RP.parse(this.raw);
this.columnkeys = [];
this.columns = [];
Expand Down
1 change: 0 additions & 1 deletion src/responsetemplatemanager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export class ResponseTemplateManager {
if (this.hasTemplate(id)) {
return new Response(id);
}
console.log("template id " + id);
return new Response("notfound");
}

Expand Down
2 changes: 0 additions & 2 deletions src/responsetranslator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ export class ResponseTranslator {
} else {
// Escape the pattern and attempt to find a match for it
const escapedregex = preg_quote(regex);
console.log(newraw);
data = ResponseTranslator.findMatch(escapedregex, newraw, val, cmd, ph);
console.log(newraw);
}

// If a match is found, exit the outer loop
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "./.github/linters/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"types": ["node"]
},
Expand Down