pub fn check(root: &Path) -> Result<(), String>
Checks every script of the mod at root; an error when one has errors.
root