Skip to content

Commit

Permalink
Merge pull request #1174 from paritytech/dependabot/npm_and_yarn/java…
Browse files Browse the repository at this point in the history
…script/prettier-3.0.0

chore(deps-dev): bump prettier from 2.8.8 to 3.0.0 in /javascript
  • Loading branch information
mergify[bot] authored Jul 6, 2023
2 parents a9b9a58 + afaa06b commit cfcae49
Show file tree
Hide file tree
Showing 6 changed files with 3,915 additions and 24 deletions.
36 changes: 22 additions & 14 deletions javascript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0-alpha.1",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"prettier-plugin-organize-imports": "^3.2.2"
},
"workspaces": [
Expand Down
15 changes: 9 additions & 6 deletions javascript/packages/orchestrator/src/networkNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,15 @@ export class NetworkNode implements NetworkNodeInterface {
getValue(),
new Promise(
(resolve) =>
setTimeout(() => {
const err = new Error(
`Timeout(${timeout}), "getting log pattern ${pattern} within ${timeout} secs".`,
);
return resolve(err);
}, (timeout + 2) * 1000), //extra 2s for processing log
setTimeout(
() => {
const err = new Error(
`Timeout(${timeout}), "getting log pattern ${pattern} within ${timeout} secs".`,
);
return resolve(err);
},
(timeout + 2) * 1000,
), //extra 2s for processing log
),
]);
if (resp instanceof Error) throw resp;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export class PrometheusResource {
private readonly configPath: string;
private readonly dataPath: string;

constructor(client: Client, private readonly namespace: string) {
constructor(
client: Client,
private readonly namespace: string,
) {
const nodeRootPath = `${client.tmpDir}/prometheus`;
this.configPath = `${nodeRootPath}/etc`;
this.dataPath = `${nodeRootPath}/data`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export class TempoResource {
private readonly configPath: string;
private readonly dataPath: string;

constructor(client: Client, private readonly namespace: string) {
constructor(
client: Client,
private readonly namespace: string,
) {
const nodeRootPath = `${client.tmpDir}/tempo`;
this.configPath = `${nodeRootPath}/etc`;
this.dataPath = `${nodeRootPath}/data`;
Expand Down
Loading

0 comments on commit cfcae49

Please sign in to comment.