fix: usage before init.

This commit is contained in:
Darshan committed 2025-04-30 19:36:26 +05:30
1 parent 4e3c978302
commit 2d94ed7322
1 file changed
+2 -2
@@ -32,8 +32,8 @@
function getCodeSnippets() {
const projectId = page.params.project;
const codePath = `./sites/${framework}`;
const { framework, buildCommand, installCommand, outputDirectory } = site;
const codePath = `./sites/${site.framework}`;
const { buildCommand, installCommand, outputDirectory } = site;
return {
Unix: {