mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
use local variable instead of module.exports in example
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
3b82452d76
commit
2c1cc9ead6
@@ -480,7 +480,7 @@ module NodeJSLib {
|
||||
)
|
||||
or
|
||||
// const fs = require('fs');
|
||||
// module.exports = methods.reduce((obj, method) => {
|
||||
// let fs_copy = methods.reduce((obj, method) => {
|
||||
// obj[method] = fs[method];
|
||||
// return obj;
|
||||
// }, {});
|
||||
|
||||
Reference in New Issue
Block a user