From ea0c0cea753007d3d5d16a9a3c1c925f8c912ccc Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Wed, 2 Sep 2015 10:17:24 +0800 Subject: [PATCH] fix(grunt): wrong `amsf-update` task --- Gruntfile.coffee | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index dab4d969f..ee6f260ae 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -591,9 +591,13 @@ module.exports = (grunt) -> grunt.task.run [ "gitreset:amsf__core__reset_git" "gitclean:amsf__core__clean_git" + "gitpull:amsf__core__update_remote" + ] + else + grunt.task.run [ + "gitclone:amsf__core__add_remote" ] grunt.task.run [ - "gitclone:amsf__core__add_remote" "copy:amsf__core__to_app" ]