diff --git a/lib/server/ischanged.js b/lib/server/ischanged.js index 6125eabe..e57a22fe 100644 --- a/lib/server/ischanged.js +++ b/lib/server/ischanged.js @@ -3,7 +3,6 @@ var fs = require('fs'), os = require('os'), - path = require('path'), Util = require('../util'), time = require('./timem'), @@ -16,8 +15,7 @@ TimesReaded, - DIR_RAW = getDir() || __dirname + '/../../json/', - DIR = path.normalize(DIR_RAW), + DIR = getDir() || __dirname + '/../../json/', NAME_SHORT = DIR + 'changes', NAME = NAME_SHORT + '.json'; @@ -51,7 +49,9 @@ dir += '/ischanged'; if (!WIN) - dir += sign + process.getuid() + '/'; + dir += sign + process.getuid(); + + dir += '/'; } return dir;