Skip to content

Commit 93eb430

Browse files
committed
revert json validation
1 parent 3ad1100 commit 93eb430

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ export function blankTimecard(name) {
8484
export function checkForValidTimecard() {
8585
try {
8686
var timecardData = require('../.timecard.json');
87-
if (!happyAsJson(timecardData)) {
87+
88+
if (happyAsJson(timecardData) === false) {
8889
throw new Error('Invalid timecard data.');
8990
}
9091
} catch (err) {

0 commit comments

Comments
 (0)