We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81740ff commit 877ac76Copy full SHA for 877ac76
1 file changed
src/fake.ts
@@ -64,7 +64,7 @@ export class Fake {
64
65
// extract method name from between the {{ }} that we found
66
// for example: {{name.firstName}}
67
- const token = str.substr(start + 2, end - start - 2);
+ const token = str.substring(start + 2, end);
68
let method = token.replace('}}', '').replace('{{', '');
69
70
// console.log('method', method)
0 commit comments