(config: WorkspaceConfiguration)
| 1 | import { WorkspaceConfiguration } from "vscode"; |
| 2 | |
| 3 | export 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 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected