| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d05758f commit 41b6d9e
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -172,9 +172,9 @@ function wrap(middleware, callback) { | |||
| 172 | 172 | parameters.push(done); | |
| 173 | 173 | } | |
| 174 | 174 | try { | |
| 175 | - result = middleware(...parameters); | ||
| 175 | + result = middleware.apply(this, parameters); | ||
| 176 | 176 | } catch (error) { | |
| 177 | - const exception = error; | ||
| 177 | + const exception = (error); | ||
| 178 | 178 | if (fnExpectsCallback && called) { | |
| 179 | 179 | throw exception | |
| 180 | 180 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,9 +14,9 @@ | |||
| 14 | 14 | "vfile-reporter": "^7.0.3" | |
| 15 | 15 | }, | |
| 16 | 16 | "devDependencies": { | |
| 17 | - "@rollup/plugin-commonjs": "^21.0.1", | ||
| 17 | + "@rollup/plugin-commonjs": "^21.0.2", | ||
| 18 | 18 | "@rollup/plugin-node-resolve": "^13.1.3", | |
| 19 | - "rollup": "^2.67.3", | ||
| 19 | + "rollup": "^2.68.0", | ||
| 20 | 20 | "rollup-plugin-cleanup": "^3.2.1" | |
| 21 | 21 | } | |
| 22 | 22 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments