Update formatting of fs check message

This commit is contained in:
James Allen 2014-08-15 13:45:26 +01:00
parent 2287335dcf
commit fee8260a9c

View file

@ -313,11 +313,11 @@ module.exports = (grunt) ->
checkFS: (callback = (error) ->) -> checkFS: (callback = (error) ->) ->
Settings = require "settings-sharelatex" Settings = require "settings-sharelatex"
if Settings.filestore.backend=="fs" if Settings.filestore.backend=="fs"
grunt.log.write "Checking FS configuration..." grunt.log.write "Checking FS configuration... "
fs = require("fs") fs = require("fs")
fs.exists Settings.filestore.stores.user_files, (exists) -> fs.exists Settings.filestore.stores.user_files, (exists) ->
if exists if exists
grunt.log.write "OK." grunt.log.writeln "OK."
else else
grunt.log.error "FAIL." grunt.log.error "FAIL."
grunt.log.errorlns """ grunt.log.errorlns """