mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-01 07:44:37 +00:00
Update formatting of fs check message
This commit is contained in:
parent
2287335dcf
commit
fee8260a9c
1 changed files with 2 additions and 2 deletions
|
@ -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 """
|
||||||
|
|
Loading…
Reference in a new issue