Skip to content

Commit 7d913ab

Browse files
committed
Fix formatting
1 parent 1d38a60 commit 7d913ab

File tree

9 files changed

+22
-15
lines changed

9 files changed

+22
-15
lines changed

.github/workflows/check-changelog.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
id: changed-files
2020
uses: tj-actions/changed-files@v35
2121
with:
22-
files: './changelog.d/**'
22+
files: "./changelog.d/**"
2323

2424
- name: 🔨 Enforce New File or 'No Changelog Required' Label
2525
uses: actions/github-script@v6

.github/workflows/deploy-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: 📘 Upload artifact
4848
uses: actions/upload-pages-artifact@v2
4949
with:
50-
path: './docs'
50+
path: "./docs"
5151

5252
- name: 📘 Deploy to GitHub Pages
5353
id: deployment

.github/workflows/test-suite.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,3 @@ jobs:
4646
- name: 🏥 Check docs generation
4747
run: |
4848
nix develop --show-trace --command bash -c "npm --prefix ./doc/theme/ run build && npm run docs"
49-

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"name": "Debug Tests",
88
"program": "${workspaceRoot}/node_modules/.bin/jest",
99
"cwd": "${workspaceRoot}",
10-
"args": ["--i", "--config", "jest.config.js"],
10+
"args": ["--i", "--config", "jest.config.js"]
1111
},
1212
{
1313
"name": "Launch Extension (development)",

nix/shell.nix

+11
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ lib.iogx.mkShell {
5353
prettier.enable = true;
5454
prettier.extraOptions = "--plugin ${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules/prettier-plugin-toml/lib/api.js --write";
5555
prettier.excludes = [ "jsdelivr-npm-importmap\\.js" ];
56+
prettier.include = [
57+
"css"
58+
"html"
59+
"js"
60+
"json"
61+
"jsx"
62+
"scss"
63+
"ts"
64+
"yaml"
65+
"toml"
66+
];
5667
};
5768
}
5869

packages/runtime/core/src/block.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const bigintGuard = new Type<bigint, bigint, unknown>(
2222
"bigint",
2323
isBigInt,
2424
(i, c) => (isBigIntOrNumber(i) ? success(BigInt(i)) : failure(i, c)),
25-
(number) => number,
25+
(number) => number
2626
);
2727

2828
/**

packages/runtime/lifecycle/src/api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export const onlyByContractIds = (contractIds: ContractId[]) =>
296296
({
297297
byContractIds: contractIds,
298298
byMyRoleTokens: (myRoles) => myRoles,
299-
} as Filters);
299+
}) as Filters;
300300

301301
/**
302302
* Provide filtering capabilities on the payouts returned

packages/runtime/lifecycle/src/generic/contracts.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ const getContractIds =
102102
acc: ContractId[],
103103
range?: ItemRange
104104
): Promise<ContractId[]> => {
105-
const result = await deprecatedRestAPI.contracts.getHeadersByRange(range)(
106-
kwargs
107-
)();
105+
const result =
106+
await deprecatedRestAPI.contracts.getHeadersByRange(range)(kwargs)();
108107
if (result._tag === "Left") throw result.left;
109108
const response = result.right;
110109
const contractIds = [

packages/runtime/lifecycle/test/generic/payouts.e2e.spec.ts

+4-6
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ describe.skip("Payouts", () => {
6060
await runtime(adaProvider).wallet.waitConfirmation(txCreatedContract);
6161

6262
// Applying the first Deposit
63-
let next = await runtime(adaProvider).contracts.getApplicableInputs(
64-
contractId
65-
);
63+
let next =
64+
await runtime(adaProvider).contracts.getApplicableInputs(contractId);
6665
const txFirstTokensDeposited = await runtime(
6766
adaProvider
6867
).contracts.applyInputs(contractId, {
@@ -71,9 +70,8 @@ describe.skip("Payouts", () => {
7170
await runtime(adaProvider).wallet.waitConfirmation(txFirstTokensDeposited);
7271

7372
// Applying the second Deposit
74-
next = await runtime(tokenProvider).contracts.getApplicableInputs(
75-
contractId
76-
);
73+
next =
74+
await runtime(tokenProvider).contracts.getApplicableInputs(contractId);
7775
await runtime(tokenProvider).contracts.applyInputs(contractId, {
7876
inputs: [pipe(next.applicable_inputs.deposits[0], Deposit.toInput)],
7977
});

0 commit comments

Comments
 (0)