Skip to content

Commit

Permalink
Added repository details to console.log.
Browse files Browse the repository at this point in the history
  • Loading branch information
globalexport committed Jan 10, 2024
1 parent d021817 commit b2f3a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cli-pull.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ cli
.version(version)
.arguments('[repository]')
.action(async (repository) => {
console.log('pulling')
console.log('pulling repositories')
try {
if (repository) {
if (!repos.has(repository)) {
throw Error(`repository "${repository}" does not exist`)
}
console.log('pulling', repository)
pull(repos.get(repository), repository)
} else {
repos.forEach(pull)
Expand Down

0 comments on commit b2f3a35

Please sign in to comment.