In server.js there is an unnecessary line of code at 22:
|
const sendFile = function( response, filename ) { |
|
fs.readFile( filename, function( err, content ) { |
|
file = content |
|
response.end( content, 'utf-8' ) |
|
}) |
|
} |
file is not used again after this assignment which makes it safe to delete
Pull Request: #7
In
server.jsthere is an unnecessary line of code at 22:a1-gettingstarted/server.js
Lines 20 to 25 in e5f841d
fileis not used again after this assignment which makes it safe to deletePull Request: #7