8000 Fix code style · HowProgrammingWorks/Sandboxes@5948a01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5948a01

Browse files
committed
Fix code style
1 parent 0d5e4fc commit 5948a01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JavaScript/framework.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const events = require('events');
1717
// the global context of an application
1818
const context = {
1919
module: {}, console,
20-
require: name => {
20+
require: (name) => {
2121
if (name === 'fs') {
2222
console.log('Module fs is restricted');
2323
return null;
@@ -65,6 +65,6 @@ fs.readFile(fileName, 'utf8', (err, src) => {
6565
// to execute, save to the cache, print to console, etc.
6666
});
6767

68-
process.on('uncaughtException', err => {
68+
process.on('uncaughtException', (err) => {
6969
console.log('Unhandled exception: ' + err);
7070
});

0 commit comments

Comments
 (0)
0