Skip to content

A platform for community discussion. Free, open, simple.

FIX: Remove whitespace from theme git versions (#12857)

David Taylor02f1f853067c
diff --git a/lib/theme_store/git_importer.rb b/lib/theme_store/git_importer.rb
index 1525f16185d..15b145d0caa 100644
--- a/lib/theme_store/git_importer.rb
+++ b/lib/theme_store/git_importer.rb
@@ -51,7 +51,7 @@ class ThemeStore::GitImporter
end
def version
- execute "git", "rev-parse", "HEAD"
+ execute("git", "rev-parse", "HEAD").strip
end
def cleanup!