1 | let {
|
2 | getEdgeBetaPath,
|
3 | getEdgeCanaryPath,
|
4 | getEdgeDevPath,
|
5 | getEdgePath,
|
6 | getAnyEdgeStable,
|
7 | getAnyEdgeLatest,
|
8 | } = require(".")
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | function findEdge(func) {
|
21 | try {
|
22 | let path = func()
|
23 | console.log("Found path", path)
|
24 | } catch (e) {
|
25 | console.log("Error on finding path", e)
|
26 | }
|
27 | }
|
28 |
|
29 | findEdge(() => getEdgeBetaPath())
|
30 | findEdge(() => getEdgeCanaryPath())
|
31 | findEdge(() => getEdgeDevPath())
|
32 | findEdge(() => getEdgePath())
|
33 | findEdge(() => getAnyEdgeStable())
|
34 | findEdge(() => getAnyEdgeLatest())
|