Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add support for continue config #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
fix: id not coming through to final json
  • Loading branch information
moT01 committed Jan 19, 2022
commit dbb1a67278467bb4ee3dc67b4f04c4b8ac4010fd
2 changes: 1 addition & 1 deletion src/schema/tutorial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,5 +316,5 @@ export default {
},
},
additionalProperties: false,
required: ["version", "summary", "config", "levels"],
required: ["id", "version", "summary", "config", "levels"],
};
1 change: 1 addition & 0 deletions src/utils/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export function parse (params: ParseParams): any {
const mdContent: TutorialFrame = parseMdContent(params.text + '\n\n')

const parsed: Partial<T.Tutorial> = {
id: params.skeleton.id,
version: params.skeleton.version,
summary: mdContent.summary,
config: params.skeleton.config || {},
Expand Down