Skip to content

Commit

Permalink
🚀 correcting some error
Browse files Browse the repository at this point in the history
  • Loading branch information
am-a-man committed Jun 8, 2021
1 parent 06fc496 commit 8f264f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions score.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{

}
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
console.log("server is starting");

var fs = require('fs');

var data = fs.readFileSync('score.json');
var afinnFile = fs.readFileSync('afinn.json');
var score = JSON.parse(data);
var afinnFile = fs.readFileSync('afinn.json');
var afinnData = JSON.parse(afinnFile);


Expand Down

0 comments on commit 8f264f4

Please sign in to comment.