'use strict';

// Module dependencies
var path = require('path');

// Set module root directory
process.rootPublish = __dirname;
process.requirePublish = function(filePath) {
  return require(path.normalize(process.rootPublish + '/' + filePath));
};

module.exports = process.requirePublish('app/server/PublishPlugin.js');

'use strict';

// Module dependencies
var path = require('path');

// Set module root directory
process.rootPublish = __dirname;
process.requirePublish = function(filePath) {
  return require(path.join(process.rootPublish, filePath));
};

module.exports = process.requirePublish('app/server/PublishPlugin.js');

Replace wrong use of path.normalize
Replace wrong use of path.normalize
