Skip to content

Commit

Permalink
Merge pull request #2970 from adaptlearning/issue/2954
Browse files Browse the repository at this point in the history
Convert port string to number
  • Loading branch information
tomgreenfield authored Nov 16, 2020
2 parents 6906261 + 1de2a2b commit 5bca8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grunt/config/connect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = function(grunt, options) {

var port = grunt.option('port') || 9001;
var port = parseInt(grunt.option('port')) || 9001;
var host = grunt.option('host') || 'localhost';

return {
Expand Down

0 comments on commit 5bca8da

Please sign in to comment.