Skip to content

Commit a9dc3fc

Browse files
authored
Merge pull request #7 from sandyjoshi/master
Changed var to const at all the possible places and removed unused vars.
2 parents e34dc46 + 2baa7dd commit a9dc3fc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

gulpfile.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
var gulp = require('gulp');
2-
var mocha = require('gulp-mocha');
3-
var istanbul = require('gulp-istanbul')
4-
var fs = require('fs');
1+
const gulp = require('gulp');
2+
const mocha = require('gulp-mocha');
3+
const istanbul = require('gulp-istanbul')
54

65
gulp.task('default', function () {
76
gulp.src('tests/**/*.js')

server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ app.get('/', (req, res) => {
1212
res.send('Hello Node.js Sample!\n');
1313
});
1414

15-
var port = process.env.PORT||PORT;
15+
const port = process.env.PORT||PORT;
1616
app.listen(port);
1717
console.log(`Running on http://${HOST}:${PORT}`);

0 commit comments

Comments
 (0)