From f1879a1694b8aaef1df5e49dcc0abd371dd0c22d Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 24 Feb 2014 19:08:08 +0000 Subject: [PATCH] Update Gruntfile.coffee --- server-ce/Gruntfile.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server-ce/Gruntfile.coffee b/server-ce/Gruntfile.coffee index ed81cea32e..55a75a293e 100644 --- a/server-ce/Gruntfile.coffee +++ b/server-ce/Gruntfile.coffee @@ -4,7 +4,6 @@ exec = require("child_process").exec rimraf = require "rimraf" Path = require "path" semver = require "semver" -settings = require "settings-sharelatex" knox = require "knox" SERVICES = [{ @@ -220,11 +219,12 @@ module.exports = (grunt) -> checkS3: (callback = (error) ->) -> grunt.log.write "Checking S3 credentials... " + Settings = require "settings-sharelatex" try client = knox.createClient({ - key: settings.s3.key - secret: settings.s3.secret - bucket: settings.s3.buckets.user_files + key: Settings.s3.key + secret: Settings.s3.secret + bucket: Settings.s3.buckets.user_files }) catch e grunt.log.error "FAIL."