From a5b4f78f10a9638772724b0d3e2edeacd632c83c Mon Sep 17 00:00:00 2001 From: Radhi Fadlillah Date: Fri, 30 Aug 2019 11:43:53 +0700 Subject: [PATCH] Fix typo --- internal/cmd/update.go | 2 +- pkg/warc/internal/archiver/processor.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cmd/update.go b/internal/cmd/update.go index d65ca2d..79acc82 100644 --- a/internal/cmd/update.go +++ b/internal/cmd/update.go @@ -120,7 +120,7 @@ func updateHandler(cmd *cobra.Command, args []string) { // Check if user really want to batch update archive if nBook := len(bookmarks); nBook > 5 && !offline && !noArchival && !skipConfirm { fmt.Printf("This update will generate offline archive for %d bookmark(s).\n", nBook) - fmt.Println("This might take a long time and uses lot of your network bandwith.") + fmt.Println("This might take a long time and uses lot of your network bandwidth.") confirmUpdate := "" fmt.Printf("Continue update and archival process ? (y/N): ") diff --git a/pkg/warc/internal/archiver/processor.go b/pkg/warc/internal/archiver/processor.go index f5f7527..159145a 100644 --- a/pkg/warc/internal/archiver/processor.go +++ b/pkg/warc/internal/archiver/processor.go @@ -477,7 +477,7 @@ func processJS(input io.Reader, baseURL *nurl.URL) (string, []ResourceURL) { // Process the string. // Unlike CSS, JS doesn't have it's own URL token. So, we can only guess whether - // a string is URL or not. There are several criterias to decide if it's URL : + // a string is URL or not. There are several criteria to decide if it's URL : // - It surrounded by `url()` just like CSS // - It started with http(s):// for absolute URL // - It started with slash (/) for relative URL