Merge pull request #6 from detleph/create-pull-request/patch

Reformat files using prettier
This commit is contained in:
Stephan
2021-10-15 16:10:45 +02:00
committed by GitHub
4 changed files with 23 additions and 23 deletions
+8 -8
View File
@@ -1,10 +1,10 @@
{ {
"printWidth": 120, "printWidth": 120,
"tabWidth": 2, "tabWidth": 2,
"semi": true, "semi": true,
"singleQuote": false, "singleQuote": false,
"trailingComma": "es5", "trailingComma": "es5",
"bracketSpacing": true, "bracketSpacing": true,
"bracketSameLine": true, "bracketSameLine": true,
"arrowParens": "always" "arrowParens": "always"
} }
+1 -1
View File
@@ -1 +1 @@
# server # server
+6 -6
View File
@@ -1,16 +1,16 @@
import { PrismaClient } from '@prisma/client' import { PrismaClient } from "@prisma/client";
const prisma = new PrismaClient() const prisma = new PrismaClient();
async function main() { async function main() {
// ... you will write your Prisma Client queries here // ... you will write your Prisma Client queries here
console.log("Hello world!!") console.log("Hello world!!");
} }
main() main()
.catch((e) => { .catch((e) => {
throw e throw e;
}) })
.finally(async () => { .finally(async () => {
await prisma.$disconnect() await prisma.$disconnect();
}) });
+8 -8
View File
@@ -1,9 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"sourceMap": true, "sourceMap": true,
"outDir": "dist", "outDir": "dist",
"strict": true, "strict": true,
"lib": ["esnext"], "lib": ["esnext"],
"esModuleInterop": true "esModuleInterop": true
} }
} }