Skip to content

Commit 1cc4121

Browse files
committed
core: fix poping messages from getLink methods when it's their only output
1 parent 1f41aec commit 1cc4121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@
12051205
}
12061206

12071207
// Get message from plugin link.
1208-
if (!link.error) {
1208+
if (!link.error || link.error && link.message && Object.keys(link).length == 2) {
12091209
useMessage(result, link);
12101210
}
12111211
}

0 commit comments

Comments
 (0)