Skip to content

Commit

Permalink
doc: update pm documentation to include resource
Browse files Browse the repository at this point in the history
PR-URL: #50601
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
  • Loading branch information
Ranieri93 authored and targos committed Nov 14, 2023
1 parent 7c7be51 commit 4cbe44e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,8 @@ Error: Access to this API has been restricted
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:24)
at node:internal/main/run_main_module:23:47 {
code: 'ERR_ACCESS_DENIED',
permission: 'FileSystemRead'
permission: 'FileSystemRead',
resource: '/home/user/index.js'
}
```

Expand Down

0 comments on commit 4cbe44e

Please sign in to comment.