mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-27 14:57:40 +00:00
slight optimization
This commit is contained in:
parent
a23216cc45
commit
7cf0a2925b
1 changed files with 5 additions and 3 deletions
|
|
@ -41,10 +41,12 @@ class HarpBlog
|
||||||
end
|
end
|
||||||
|
|
||||||
def status
|
def status
|
||||||
|
local = local_version
|
||||||
|
remote = remote_version
|
||||||
{
|
{
|
||||||
'local-version' => local_version,
|
'local-version' => local,
|
||||||
'remote-version' => remote_version,
|
'remote-version' => remote,
|
||||||
'dirty' => dirty?,
|
'dirty' => local != remote,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue