This commit is contained in:
Radhi Fadlillah 2019-08-30 11:43:53 +07:00
parent 531c66c955
commit a5b4f78f10
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ func updateHandler(cmd *cobra.Command, args []string) {
// Check if user really want to batch update archive // Check if user really want to batch update archive
if nBook := len(bookmarks); nBook > 5 && !offline && !noArchival && !skipConfirm { if nBook := len(bookmarks); nBook > 5 && !offline && !noArchival && !skipConfirm {
fmt.Printf("This update will generate offline archive for %d bookmark(s).\n", nBook) 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 := "" confirmUpdate := ""
fmt.Printf("Continue update and archival process ? (y/N): ") fmt.Printf("Continue update and archival process ? (y/N): ")

View file

@ -477,7 +477,7 @@ func processJS(input io.Reader, baseURL *nurl.URL) (string, []ResourceURL) {
// Process the string. // Process the string.
// Unlike CSS, JS doesn't have it's own URL token. So, we can only guess whether // 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 surrounded by `url()` just like CSS
// - It started with http(s):// for absolute URL // - It started with http(s):// for absolute URL
// - It started with slash (/) for relative URL // - It started with slash (/) for relative URL