-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/lib/jekyll-github-metadata/client.rb b/lib/jekyll-github-metadata/client.rb | ||
index f655152..6be3d4c 100644 | ||
--- a/lib/jekyll-github-metadata/client.rb | ||
+++ b/lib/jekyll-github-metadata/client.rb | ||
@@ -108,6 +108,7 @@ module Jekyll | ||
end | ||
|
||
def internet_connected? | ||
+ GitHubMetadata.log :warn, " ----------- checking for an internet connection #{@internet_connected}" | ||
return @internet_connected if defined?(@internet_connected) | ||
|
||
require "resolv" | ||
@@ -120,6 +121,7 @@ module Jekyll | ||
rescue Resolv::ResolvError | ||
@internet_connected = false | ||
end | ||
+ GitHubMetadata.log :warn, " ----------- checked for an internet connection #{@internet_connected}" | ||
end | ||
|
||
private |