[create-pull-request] push formatted files

This commit is contained in:
stephan418
2021-10-15 13:36:56 +00:00
committed by GitHub
parent d74094970e
commit c54d9492c8
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"
} }
+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();
}) });
+7 -7
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
} }
} }