-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
11 changed files
with
273 additions
and
36 deletions.
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
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
#!/bin/env node | ||
|
||
const path = require('path') | ||
const fs = require('fs') | ||
const users = fs.readdirSync('users') | ||
users.forEach(function(user) { | ||
users.forEach(async user => { | ||
try { | ||
const content = fs.readFileSync('users/' + user).toString() | ||
const content = fs.readFileSync(path.join('users', user), "utf8") | ||
JSON.parse(content) | ||
} catch (e) { | ||
console.error('Invalid JSON in file: ' + user) | ||
console.error(`Invalid JSON in file: ${user} (${e})`) | ||
process.exit(1) | ||
} | ||
}) | ||
console.log("All JSON valid!") |
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,8 @@ | ||
{ | ||
"copyright": "Richie Bendall, https://www.richie-bendall.ml", | ||
"url": "https://www.richie-bendall.ml", | ||
"email": "richiebendall@gmail.com", | ||
"format": "html", | ||
"gravatar": true, | ||
"theme": "material-indigo" | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"copyright": "Lucas N Martins", | ||
"url": "http://www.linkedin.com/in/martinslucas", | ||
"theme": "double-windsor" | ||
"copyright": "Lucas N Martins", | ||
"url": "https://www.linkedin.com/in/martinslucas", | ||
"theme": "double-windsor" | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"copyright": "Richie Bendall, https://www.richie-bendall.ml", | ||
"url": "https://www.richie-bendall.ml", | ||
"email": "richiebendall@gmail.com", | ||
"format": "html", | ||
"gravatar": true, | ||
"theme": "material-indigo" | ||
} | ||
"copyright": "Richie Bendall, https://www.richie-bendall.ml", | ||
"url": "https://www.richie-bendall.ml", | ||
"email": "richiebendall@gmail.com", | ||
"format": "html", | ||
"gravatar": true, | ||
"theme": "material-indigo" | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"copyright": "Richie Bendall, https://www.richie-bendall.ml", | ||
"url": "https://www.richie-bendall.ml", | ||
"email": "richiebendall@gmail.com", | ||
"format": "html", | ||
"gravatar": true, | ||
"theme": "material-indigo" | ||
} | ||
"copyright": "Richie Bendall, https://www.richie-bendall.ml", | ||
"url": "https://www.richie-bendall.ml", | ||
"email": "richiebendall@gmail.com", | ||
"format": "html", | ||
"gravatar": true, | ||
"theme": "material-indigo" | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"copyright": "Richie Bendall, https://www.richie-bendall.ml", | ||
"url": "https://www.richie-bendall.ml", | ||
"email": "richiebendall@gmail.com", | ||
"format": "html", | ||
"gravatar": true, | ||
"theme": "material-indigo" | ||
"copyright": "Richie Bendall, https://www.richie-bendall.ml", | ||
"url": "https://www.richie-bendall.ml", | ||
"email": "richiebendall@gmail.com", | ||
"format": "html", | ||
"gravatar": true, | ||
"theme": "material-indigo" | ||
} |
Oops, something went wrong.