From 1f6e689c6045d01ee65d024ec0abd5b7d1a04d95 Mon Sep 17 00:00:00 2001 From: Michal Sekula Date: Sun, 24 Oct 2021 21:21:34 +0200 Subject: [PATCH] display error --- package.json | 2 +- tasks/gitInfo.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d6d473f..86e6be4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-gitinfo", "description": "Get Git info from a working copy and populate grunt.config with the data", - "version": "0.1.9", + "version": "0.1.10", "homepage": "https://github.com/damkraw/grunt-gitinfo", "author": { "name": "Damian Krawczyk", diff --git a/tasks/gitInfo.js b/tasks/gitInfo.js index a094912..71e9cbb 100644 --- a/tasks/gitInfo.js +++ b/tasks/gitInfo.js @@ -53,6 +53,7 @@ module.exports = function (grunt) { }, function (err, result) { if (err) { + grunt.log.debug("Error", err); grunt.log.debug("Couldn't set config:", conf_key); } else { getobject.set(gitinfo, conf_key, result.stdout);