chore(markdown) rm " "

This commit is contained in:
coderaiser 2016-12-26 11:52:39 +02:00
parent 4a97a0f999
commit b5eda738c9

View file

@ -22,12 +22,12 @@ module.exports = (name, request, callback) => {
if (query === 'relative')
name = DIR_ROOT + name;
else
name = root(name);
name = root(name);
fs.readFile(name, 'utf8', (error, data) => {
if (error)
return callback(error);
parse(data, callback);
});
break;
@ -36,7 +36,7 @@ module.exports = (name, request, callback) => {
pullout(request, 'string', (error, data) => {
if (error)
return callback(error);
parse(data, callback);
});
break;
@ -62,4 +62,3 @@ function check(name, request, callback) {
throw Error('callback should be function!');
}