Skip to content

Commit

Permalink
fix(CitationTypeEnumeration): Use correct title and file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Apr 14, 2021
1 parent 36354e2 commit 4d9ca2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: Enumeration
title: CitationTypeEnumeration
'@id': stencila:CitationTypeEnumeration
status: unstable
role: secondary
Expand Down
10 changes: 8 additions & 2 deletions ts/imports/cito.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,14 @@ import { pascalCase, sentenceCase } from 'change-case'
.join('')

fs.writeFileSync(
path.join(__dirname, '..', '..', 'schema', 'CitationTypeEnumeration.yaml'),
`title: Enumeration
path.join(
__dirname,
'..',
'..',
'schema',
'CitationTypeEnumeration.schema.yaml'
),
`title: CitationTypeEnumeration
'@id': stencila:CitationTypeEnumeration
status: unstable
role: secondary
Expand Down

0 comments on commit 4d9ca2b

Please sign in to comment.