tangled
alpha
login
or
join now
julien.rbrt.fr
/
tangled-core
forked from
tangled.org/core
0
fork
atom
Monorepo for Tangled — https://tangled.org
0
fork
atom
overview
issues
pulls
pipelines
appview: fix inverted IsPatchValid check
oppi.li
10 months ago
963ece61
e68aa07c
+1
-1
1 changed file
expand all
collapse all
unified
split
appview
state
pull.go
+1
-1
appview/state/pull.go
···
804
804
sourceRev := comparison.Rev2
805
805
patch := comparison.Patch
806
806
807
807
-
if patchutil.IsPatchValid(patch) {
807
807
+
if !patchutil.IsPatchValid(patch) {
808
808
s.pages.Notice(w, "pull", "Invalid patch format. Please provide a valid diff.")
809
809
return
810
810
}