Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/travis (#77)

Valentin Zicknerebae2f4ec906
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..3c7dad881a
--- /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 bfae6b8a12..1fbb17023b 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 26f7602c19..84f94e8e37 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": {