Skip to content

Commit e6c8a35

Browse files
author
Heverson Resende
committed
Adiciona correção no Capítulo 10 linhas 246,247
1 parent dada1b6 commit e6c8a35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapters/10-modulos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ function require(name) {
243243
var exports = {}, mod = {exports: exports};
244244
code(exports, mod);
245245
246-
require.cache[name] = module.exports;
247-
return module.exports;
246+
require.cache[name] = mod.exports;
247+
return mod.exports;
248248
}
249249
require.cache = Object.create(null);
250250
```

0 commit comments

Comments
 (0)