Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/presets/grow.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const buildInFields = [
const addBlueprints = async (config) => {
const { typeConfig, locale } = config || {};
return mapAsync(Object.entries(typeConfig || {}), async ([contentType, blueprint]) => {
const content = await yaml.convert(blueprint);
const content = await yaml.stringify(blueprint);
const dir = await getContentTypeDirectory({ ...config, locale, contentType });
const filepath = path.join(dir, '_blueprint.yaml');
await fs.outputFile(filepath, content);
Expand Down