Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 4949586

Browse files
matskomhevery
authored andcommitted
fix(ngdoc): fix the node warnings that show up during build
1 parent b365045 commit 4949586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/ngdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function Doc(text, file, line) {
4343
this.links = this.links || [];
4444
}
4545
Doc.METADATA_IGNORE = (function() {
46-
var words = require('fs').readFileSync(__dirname + '/ignore.words', 'utf8');
46+
var words = fs.readFileSync(__dirname + '/ignore.words', 'utf8');
4747
return words.toString().split(/[,\s\n\r]+/gm);
4848
})();
4949

0 commit comments

Comments
 (0)