mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 03:38:59 +00:00
Merge pull request #192 from samwhitlock/master
Fixing no-assignment issue in _diff_before_write
This commit is contained in:
@@ -422,7 +422,8 @@ class Installer:
|
|||||||
tmp = utils.write_to_tmpfile(content)
|
tmp = utils.write_to_tmpfile(content)
|
||||||
src = tmp
|
src = tmp
|
||||||
diff = utils.diff(src, dst, raw=False)
|
diff = utils.diff(src, dst, raw=False)
|
||||||
utils.remove(tmp, quiet=True)
|
if tmp:
|
||||||
|
utils.remove(tmp, quiet=True)
|
||||||
|
|
||||||
# fake the output for readability
|
# fake the output for readability
|
||||||
if not diff:
|
if not diff:
|
||||||
|
|||||||
Reference in New Issue
Block a user