Feature/travis (#77)

* integrate travis

* fix prettier transactions-page.component.ts

* change base branch to main

* fetch all branches in .travis.yml
pull/78/head
Valentin Zickner 4 years ago committed by GitHub
parent 7099edc591
commit ebae2f4ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,9 @@
language: node_js
git:
depth: false
node_js:
- 14
before_script:
- yarn
script:
- yarn format:check

@ -184,9 +184,11 @@ export class TransactionsPageComponent implements OnInit {
data: { data: {
accounts: this.user?.accounts, accounts: this.user?.accounts,
transaction: { transaction: {
accountId: aTransaction?.accountId ?? this.user?.accounts.find((account) => { accountId:
return account.isDefault; aTransaction?.accountId ??
})?.id, this.user?.accounts.find((account) => {
return account.isDefault;
})?.id,
currency: aTransaction?.currency ?? null, currency: aTransaction?.currency ?? null,
dataSource: aTransaction?.dataSource ?? null, dataSource: aTransaction?.dataSource ?? null,
date: new Date(), date: new Date(),

@ -6,7 +6,7 @@
".eslintrc.json": "*", ".eslintrc.json": "*",
"nx.json": "*" "nx.json": "*"
}, },
"affected": { "defaultBase": "master" }, "affected": { "defaultBase": "origin/main" },
"npmScope": "ghostfolio", "npmScope": "ghostfolio",
"tasksRunnerOptions": { "tasksRunnerOptions": {
"default": { "default": {

Loading…
Cancel
Save