Skip to content

Instantly share code, notes, and snippets.

@siddhant3s
Last active February 12, 2017 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siddhant3s/d56be54e6f623b2504d0db0e463d5d42 to your computer and use it in GitHub Desktop.
Save siddhant3s/d56be54e6f623b2504d0db0e463d5d42 to your computer and use it in GitHub Desktop.
function my_new_recipie(har) {
if (har.log.entries[0].time > 3) {
return { status: false, errors: ['Too big']};
}
return {status: true};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment