| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 63eb4fe commit ba0115f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,8 +13,8 @@ async_hooks.createHook({ | |||
| 13 | 13 | if (type === 'PROMISE') { | |
| 14 | 14 | // Check that the last known Promise is triggering the creation of | |
| 15 | 15 | // this one. | |
| 16 | - assert.strictEqual(promiseAsyncIds[promiseAsyncIds.length - 1] || 1, | ||
| 17 | - triggerId); | ||
| 16 | + assert.strictEqual(triggerId, | ||
| 17 | + promiseAsyncIds[promiseAsyncIds.length - 1] || 1); | ||
| 18 | 18 | promiseAsyncIds.push(id); | |
| 19 | 19 | } | |
| 20 | 20 | }, 3), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments