resources: file: Fix small typo in the compare function
This commit is contained in:
@@ -770,7 +770,7 @@ func (obj *FileRes) Compare(res Res) bool {
|
|||||||
if obj.Name != res.Name {
|
if obj.Name != res.Name {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if obj.path != res.Path {
|
if obj.path != res.path {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if (obj.Content == nil) != (res.Content == nil) { // xor
|
if (obj.Content == nil) != (res.Content == nil) { // xor
|
||||||
|
|||||||
Reference in New Issue
Block a user