mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-27 21:01:57 +00:00
Update prettier to latest. Remove tslint (#1641)
* Rev up prettier * Reformat * Remove deprecated tslint * Remove call to tslint and update package-lock.json
This commit is contained in:
@@ -136,7 +136,7 @@ export class GremlinSimpleClient {
|
||||
if (this.params.failureCallback) {
|
||||
this.params.failureCallback(
|
||||
null,
|
||||
`Unexpected error while decoding backend response: ${e} msg:${JSON.stringify(msg)}`
|
||||
`Unexpected error while decoding backend response: ${e} msg:${JSON.stringify(msg)}`,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
@@ -169,7 +169,7 @@ export class GremlinSimpleClient {
|
||||
if (this.params.failureCallback) {
|
||||
this.params.failureCallback(
|
||||
result,
|
||||
`Received response for missing or closed request: ${requestId} code:${statusCode} message:${statusMessage}`
|
||||
`Received response for missing or closed request: ${requestId} code:${statusCode} message:${statusMessage}`,
|
||||
);
|
||||
}
|
||||
return;
|
||||
@@ -282,7 +282,7 @@ export class GremlinSimpleClient {
|
||||
return btoa(
|
||||
encodeURIComponent(utf8Str).replace(/%([0-9A-F]{2})/g, function (match, p1) {
|
||||
return String.fromCharCode(parseInt(p1, 16));
|
||||
})
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user