mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
078c4e0736
commit
a3594d1280
3 files changed
+16
-3
No files matched your search
@@ -328,7 +328,7 @@ func (r *editorResourceRefs) scan(input io.Reader, name string) (bool, bool) {
|
||||
for {
|
||||
token, err := decoder.Token()
|
||||
if err == io.EOF {
|
||||
return scan.resource, len(scan.stack) == 0
|
||||
return scan.resource, scan.seen && len(scan.stack) == 0
|
||||
}
|
||||
if err != nil {
|
||||
return false, false
|
||||
|
||||
Reference in new issue
Block a user