Commit 500c993
committed
fix: Check for empty project root right before copying
The delay between checking the empty dir and copying a backup content
might cause an issue. This fix moves the check right before the content
is being copied which minimize the delay.
Signed-off-by: Ales Raszka <araszka@redhat.com>1 parent 1dbe84b commit 500c993
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 121 | | |
128 | 122 | | |
129 | 123 | | |
| |||
138 | 132 | | |
139 | 133 | | |
140 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments