doc: update pm documentation to include resource

PR-URL: https://github.com/nodejs/node/pull/50601
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
Ranieri Innocenti Spada authored and Ulises Gascón committed 2023-12-11 11:12:51 +00:00
1 parent 7cacddfcc1
commit 39cc013465
1 file changed
+2 -1
+2 -1
View File
@@ -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'
}
```