MCPcopy Create free account
hub / github.com/code-forge-io/Remix-Forge / generateMeta

Function generateMeta

src/generators/meta.ts:3–9  ·  view source on GitHub ↗
(config: WorkspaceConfiguration)

Source from the content-addressed store, hash-verified

1import { WorkspaceConfiguration } from "vscode";
2
3export const generateMeta = (config: WorkspaceConfiguration) => {
4 const customMeta = config.get("meta");
5 if (customMeta) {
6 return customMeta + "\n";
7 }
8 return [`export const meta: MetaFunction = () => [`, ` // your meta here`, `];`].join("\n");
9};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected