Instance Scan Linter Check Rhino Error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I'm trying to create a linter check to scan for client scripts on a fresh Australia PDI but am always getting the following Failure.
Rhino error: missing ; before statement
I've stripped the linter check script to a barebones version to see if I still get the failure, and I do.
(function (engine) {
var TABLES_TO_CHECK = ["sys_script_client"];
if (TABLES_TO_CHECK.indexOf(String(engine.current.getTableName())) == -1) {
return;
}
gs.info(new GlideDateTime().getNumericValue() + " Current script being checked: " + engine.current.getValue("name") + " " + engine.current.sys_id);
})(engine);
Is there a way to print a stack trace to see what segment of code is causing this error?
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
As your script looks just fine it seems to be an issue with our code rather. I would file a case in support.