cfnpp 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cfnpp +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a0912d91ace3af90b743ad94befb92ff3a58cf
|
4
|
+
data.tar.gz: ebef71d68111a3fde3f23127177c415c775cc581
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f601f55468948a4992025ff6f226407051cd60e6f0d27ca3ad59925751d74e210c35551e92e00834f8a584efe61eb7f28498309c61cd2038b3bc95e80d6dc336
|
7
|
+
data.tar.gz: 883149010e8ad57f7845207ba7274257cf75ad4debceb14662866cd3bd8dfb931e5cd3d8062effce4ef9bceb4df83b49e30549dbeb1842f96bd84488e5300058
|
data/bin/cfnpp
CHANGED
@@ -388,11 +388,11 @@ def get_template_info()
|
|
388
388
|
|
389
389
|
# Try from git.
|
390
390
|
if gitrev == ''
|
391
|
-
gitrev = `/usr/bin/git log --format='%H' -n 1`
|
391
|
+
gitrev = `/usr/bin/git log --format='%H' -n 1 2>/dev/null`
|
392
392
|
gitrev.chomp!
|
393
393
|
if gitrev
|
394
394
|
source = 'git'
|
395
|
-
gitstatus =
|
395
|
+
gitstatus = `/usr/bin/git status --porcelain 2>/dev/null`
|
396
396
|
end
|
397
397
|
end
|
398
398
|
|