diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..3c7dad881 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: node_js +git: + depth: false +node_js: + - 14 +before_script: + - yarn +script: + - yarn format:check diff --git a/apps/client/src/app/pages/transactions/transactions-page.component.ts b/apps/client/src/app/pages/transactions/transactions-page.component.ts index bfae6b8a1..1fbb17023 100644 --- a/apps/client/src/app/pages/transactions/transactions-page.component.ts +++ b/apps/client/src/app/pages/transactions/transactions-page.component.ts @@ -184,9 +184,11 @@ export class TransactionsPageComponent implements OnInit { data: { accounts: this.user?.accounts, transaction: { - accountId: aTransaction?.accountId ?? this.user?.accounts.find((account) => { - return account.isDefault; - })?.id, + accountId: + aTransaction?.accountId ?? + this.user?.accounts.find((account) => { + return account.isDefault; + })?.id, currency: aTransaction?.currency ?? null, dataSource: aTransaction?.dataSource ?? null, date: new Date(), diff --git a/nx.json b/nx.json index 26f7602c1..84f94e8e3 100644 --- a/nx.json +++ b/nx.json @@ -6,7 +6,7 @@ ".eslintrc.json": "*", "nx.json": "*" }, - "affected": { "defaultBase": "master" }, + "affected": { "defaultBase": "origin/main" }, "npmScope": "ghostfolio", "tasksRunnerOptions": { "default": {