feature(ischanged) add normilize of path

This commit is contained in:
coderaiser 2014-08-17 07:52:03 -04:00
parent abf5ebf750
commit 79a060fecf

View file

@ -3,6 +3,7 @@
var fs = require('fs'),
os = require('os'),
path = require('path'),
Util = require('../util'),
time = require('./timem'),
@ -16,7 +17,8 @@
TimesReaded,
DIR = getDir() || __dirname + '/../../json/',
NAME_SHORT = DIR + 'changes',
DIR_NORM = path.normalize(DIR),
NAME_SHORT = DIR_NORM + 'changes',
NAME = NAME_SHORT + '.json';
function getTimes(callback) {