Skip to content

Commit 2bdbbdb

Browse files
authored
Merge pull request #19 from jmhobbs/typo-fixes
Fix a few typos.
2 parents 0f5609e + e7013e5 commit 2bdbbdb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Awesome CLI is a simple command line tool to give you a fancy command line inter
2929

3030
## Introduction
3131

32-
The CLI starts with the root repository [sindresorhus/awesome](https://github.com/sindresorhus/awesome) and guides to to the final repo according to your choices. It fetches Readme files of the repositories and parses them to create the select lists. So, the CLI needs a working network :). It also uses file caches to cache the Readme file contents. You can find the cache folder with name ".awsomecache" under your home folder.
32+
The CLI starts with the root repository [sindresorhus/awesome](https://github.com/sindresorhus/awesome) and guides to to the final repo according to your choices. It fetches Readme files of the repositories and parses them to create the select lists. So, the CLI needs a working network :). It also uses file caches to cache the Readme file contents. You can find the cache folder with name ".awesomecache" under your home folder.
3333

3434
![Avesome-cli Sample](./assets/images/awesome-cli.gif)
3535

internal/package/fetcher/fetcher.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ var README_PATTERNS = []string{
2626
"readme.MD",
2727
}
2828

29-
func FetchAwsomeRootRepo() (string, error) {
30-
return FetchAwsomeRepo(AWESOMEREPOURL)
29+
func FetchAwesomeRootRepo() (string, error) {
30+
return FetchAwesomeRepo(AWESOMEREPOURL)
3131
}
3232

33-
func FetchAwsomeRepo(repourl string) (string, error) {
33+
func FetchAwesomeRepo(repourl string) (string, error) {
3434
if !CacheFolderExists() {
3535
CreateCacheFolder()
3636
}

internal/package/manager/manager.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ func (m *Manager) Execute(command Command) {
3434

3535
func (m *Manager) SetPWD(n *node.Node) {
3636
if len(n.GetChildren()) == 0 {
37-
fecthed, err := fetcher.FetchAwsomeRepo(n.GetURL())
37+
fetched, err := fetcher.FetchAwesomeRepo(n.GetURL())
3838

3939
if err != nil {
4040
panic(err)
4141
}
4242

43-
temp := parser.ParseIndex(fecthed)
43+
temp := parser.ParseIndex(fetched)
4444

4545
n.SetChildren(temp.GetChildren())
4646
}
@@ -59,13 +59,13 @@ func (m *Manager) GoBack() {
5959
}
6060

6161
func (m *Manager) Initialize() {
62-
fecthed, err := fetcher.FetchAwsomeRootRepo()
62+
fetched, err := fetcher.FetchAwesomeRootRepo()
6363

6464
if err != nil {
6565
panic(err)
6666
}
6767

68-
root := parser.ParseIndex(fecthed)
68+
root := parser.ParseIndex(fetched)
6969
root.Name = "Awesome"
7070
m.Root = &root
7171
m.PWD = m.Root

0 commit comments

Comments
 (0)