Skip to content

Commit

Permalink
Update: Change order of adapt create course steps to put branch/tag b…
Browse files Browse the repository at this point in the history
…efore course (fix #207)
  • Loading branch information
swashbuck committed Aug 7, 2024
1 parent f8cc1b7 commit 5316c10
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/commands/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@ async function confirmOptions ({ logger, type, name, branch }) {
? await getAdaptLatestVersion({ repository: ADAPT_FRAMEWORK })
: 'master'
const propertySchema = [
{
name: 'name',
message: 'name',
type: 'input',
default: name || DEFAULT_TYPE_NAME[typeSchemaResults.type]
},
{
name: 'branch',
message: 'branch/tag',
type: 'input',
default: branch || 'not specified'
},
{
name: 'name',
message: 'name',
type: 'input',
default: name || DEFAULT_TYPE_NAME[typeSchemaResults.type]
},
{
name: 'ready',
message: 'create now?',
Expand Down

0 comments on commit 5316c10

Please sign in to comment.