Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thani-sh committed Jun 6, 2016
1 parent e4fe42c commit 085fc64
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/server/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var config = (0, _config2.default)('PRODUCTION', _webpackConfig2.default, config

// remove the leading '/'
var publicPath = config.output.publicPath;
if (publicPath[0] == '/') {
if (publicPath[0] === '/') {
publicPath = publicPath.slice(1);
}

Expand Down
2 changes: 1 addition & 1 deletion dist/server/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports.default = function (configDir) {

// remove the leading '/'
var publicPath = config.output.publicPath;
if (publicPath[0] == '/') {
if (publicPath[0] === '/') {
publicPath = publicPath.slice(1);
}

Expand Down
2 changes: 1 addition & 1 deletion src/server/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const config = loadConfig('PRODUCTION', baseConfig, configDir);

// remove the leading '/'
let publicPath = config.output.publicPath;
if (publicPath[0] == '/') {
if (publicPath[0] === '/') {
publicPath = publicPath.slice(1);
}

Expand Down
2 changes: 1 addition & 1 deletion src/server/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function (configDir) {

// remove the leading '/'
let publicPath = config.output.publicPath;
if (publicPath[0] == '/') {
if (publicPath[0] === '/') {
publicPath = publicPath.slice(1);
}

Expand Down

0 comments on commit 085fc64

Please sign in to comment.