Skip to content

Commit dab5a75

Browse files
committed
Minor comment formatting
1 parent 671c25d commit dab5a75

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

javascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap/RemoteFlowSources.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ class HandlerParameter extends ParameterNode, RemoteFlowSource {
4343
* A service may be described only in a CDS file, but event handlers may still be registered in a format such as:
4444
* ```javascript
4545
* module.exports = srv => {
46-
* srv.before('CREATE', 'Media', req => { //an entity name is used to describe which to register this handler to
46+
* srv.before('CREATE', 'Media', req => { // an entity name is used to describe which to register this handler to.
47+
* ...
48+
* });
49+
* }
4750
* ```
4851
* parameters named `req` are captured in the above example.
4952
*/

0 commit comments

Comments
 (0)