forked from tangled.org/core
this repo has no description

appview: fix inverted IsPatchValid check

Changed files
+1 -1
appview
state
+1 -1
appview/state/pull.go
···
sourceRev := comparison.Rev2
patch := comparison.Patch
-
if patchutil.IsPatchValid(patch) {
+
if !patchutil.IsPatchValid(patch) {
s.pages.Notice(w, "pull", "Invalid patch format. Please provide a valid diff.")
return
}