Skip to content

Commit 5316c10

Browse files
authored
Update: Change order of adapt create course steps to put branch/tag before course (fix #207)
1 parent f8cc1b7 commit 5316c10

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/commands/create.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ async function confirmOptions ({ logger, type, name, branch }) {
6565
? await getAdaptLatestVersion({ repository: ADAPT_FRAMEWORK })
6666
: 'master'
6767
const propertySchema = [
68-
{
69-
name: 'name',
70-
message: 'name',
71-
type: 'input',
72-
default: name || DEFAULT_TYPE_NAME[typeSchemaResults.type]
73-
},
7468
{
7569
name: 'branch',
7670
message: 'branch/tag',
7771
type: 'input',
7872
default: branch || 'not specified'
7973
},
74+
{
75+
name: 'name',
76+
message: 'name',
77+
type: 'input',
78+
default: name || DEFAULT_TYPE_NAME[typeSchemaResults.type]
79+
},
8080
{
8181
name: 'ready',
8282
message: 'create now?',

0 commit comments

Comments
 (0)