Skip to content

Commit 5ba2452

Browse files
committed
text edits
1 parent 2b60a41 commit 5ba2452

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"arg": "^4.1.3",
2121
"esm": "^3.2.25",
2222
"inquirer": "^7.1.0",
23-
"js-yaml": "^3.13.1",
23+
"js-yaml": "^3.14.0",
2424
"listr": "^0.14.3",
2525
"lodash": "^4.17.15",
2626
"ncp": "^2.0.0",
2727
"npc": "0.0.1",
28-
"simple-git": "^2.4.0"
28+
"simple-git": "^2.5.0"
2929
}
3030
}

src/cli.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function promptForMissingOptions(options) {
6363
questions.push({
6464
type: 'input',
6565
name: 'localGit',
66-
message: 'Please, provide a directory of the valid git repository: ',
66+
message: 'Please, provide a local directory of the valid git repository: ',
6767
when: (answers) => answers.source === localGit,
6868
});
6969

@@ -80,7 +80,7 @@ async function promptForMissingOptions(options) {
8080
questions.push({
8181
type: 'list',
8282
name: 'source',
83-
message: 'It was provided both a local git directory and a remote address. Please, choose either one or those to parse: ',
83+
message: 'A local git directory and a remote address were both provided. Please, choose either one or those to parse: ',
8484
choices: [localGit, remoteGit],
8585
default: localGit,
8686
});
@@ -89,7 +89,7 @@ async function promptForMissingOptions(options) {
8989
// if the branch containing the code is not provided
9090
if (!options.codeBranch) {
9191
questions.push({
92-
type: 'imput',
92+
type: 'input',
9393
name: 'codeBranch',
9494
message: 'Please, provide the branch with the code commits: ',
9595
});
@@ -98,7 +98,7 @@ async function promptForMissingOptions(options) {
9898
// if the branch containing the setup files is not provided
9999
if (!options.setupBranch) {
100100
questions.push({
101-
type: 'imput',
101+
type: 'input',
102102
name: 'setupBranch',
103103
message: 'Please, provide the branch with the setup files (coderoad.yaml and tutorial.md): ',
104104
});
@@ -132,10 +132,10 @@ export async function cli(args) {
132132

133133
// If help called just print the help text and exit
134134
if (options.help) {
135-
console.log('Docs can be found at github: https://github.com/coderoad/builder-cli/');
135+
console.log('Docs can be found at github: https://github.com/coderoad/coderoad-cli/');
136136
}
137137
else if (!options.command) {
138-
console.log(`The command is missing. Chose either 'create' or 'build' and its options.`)
138+
console.log(`The command is missing. Choose either 'create' or 'build' and its options.`)
139139
}
140140
else {
141141
switch (options.command) {

0 commit comments

Comments
 (0)