Sign in
pigweed
/
third_party
/
github
/
aspect-build
/
rules_js
/
HEAD
/
.
/
js
/
private
/
test
/
data
/
test.js
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
!`)
}