Skip to content

Commit ee04cb2

Browse files
authored
Update src/execute/index.js
1 parent 43ee7e7 commit ee04cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/execute/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ function buildOas3UrlWithContext(ourUrl = '', contextUrl = '') {
388388

389389
function getVariableTemplateNames(str) {
390390
const results = [];
391-
const re = /{([\s\S]+?)}/g;
391+
const re = /{([^}]{1,29})}/g;
392392
let text;
393393

394394
// eslint-disable-next-line no-cond-assign

0 commit comments

Comments
 (0)