Do check vars for base

This commit is contained in:
Vit Brunner
2015-03-14 10:25:37 +01:00
parent f6d056ac67
commit 02f3aea80a
+2
View File
@@ -33,6 +33,8 @@ add = (subtasks, defaults = {}) ->
, {})
get_base = (vars, min = false) ->
if typeof(vars.base) == 'string'
return vars.base
return if min then '/sbs/' else '/'
module.exports = (grunt) ->