blob: 38c94a8e5eae8fc74008f82457feb2d7f3d4d3f5 [file] [log] [blame]
const dataPath = process.argv[2] || './data.json'
const { answer } = require(dataPath)
if (answer !== 42) {
throw new Error(`The answer (${answer}) is not 42!`)
}