chore: charlie21

This commit is contained in:
BluJ
2023-04-14 17:53:08 -06:00
parent 3052bbe85d
commit f936f5ce35
5 changed files with 73 additions and 18 deletions

View File

@@ -31,7 +31,9 @@ export function setupConfigExports<A extends InputSpec, ConfigType>(options: {
return { error: "Set config type error for config" };
}
const output = await options.write({ input, effects });
return output;
if (output) {
await effects.setWrapperData({ path: "config", value: output });
}
}) as ExpectedExports.setConfig,
getConfig: (async ({ effects, config }) => {
return {