aboutsummaryrefslogtreecommitdiffstats
path: root/server.prepare.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.prepare.ts')
-rw-r--r--server.prepare.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server.prepare.ts b/server.prepare.ts
index a858e69..875889c 100644
--- a/server.prepare.ts
+++ b/server.prepare.ts
@@ -1,5 +1,5 @@
import { execSync } from 'child_process';
-import { defineNuxtPrepareHandler } from 'nuxt-prepare/config'
+import { defineNuxtPrepareHandler } from 'nuxt-prepare/config';
export default defineNuxtPrepareHandler(async () => {
const gitCommitHash = execSync('git rev-parse HEAD').toString().trim();
@@ -11,12 +11,12 @@ export default defineNuxtPrepareHandler(async () => {
public: {
gitCommitHash: gitCommitHash,
gitCommitHashShort: gitCommitHashShort,
- gitBranch: gitBranch
- }
+ gitBranch: gitBranch,
+ },
},
state: {
foo: 'bar',
},
- }
-}) \ No newline at end of file
+ };
+});