mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
e61d0846d6
we got v0.1.1 bois Changes made : -added update command -added emojis 👌🙌👀 -added company and hire thingy in user profile section -fixed issues and bugs let's add more features bois v0.1.2 soon
13 lines
No EOL
418 B
JavaScript
13 lines
No EOL
418 B
JavaScript
const fs = require('fs');
|
|
const {updateHTML} = require('./populate');
|
|
|
|
fs.readFile("config.json", function (err , data) {
|
|
if (err) throw err;
|
|
data = JSON.parse(data);
|
|
var username = data[0].username;
|
|
if(!username || username == null){
|
|
console.log("username not found in config.json, please run build command before using update");
|
|
return;
|
|
}
|
|
updateHTML(username);
|
|
}); |