Total Complexity | 2 |
Complexity/F | 2 |
Lines of Code | 13 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { validate, join } from 'utils'; |
||
2 | import { FOO, BAR } from 'constants'; |
||
3 | |||
4 | /** |
||
5 | * An example function just to show the build and ci pipeline works. |
||
6 | * @returns {string} Hello world. |
||
7 | */ |
||
8 | export default () => { |
||
9 | if (validate({ foo: FOO, bar: BAR })) { |
||
10 | return join(FOO, BAR); |
||
11 | } |
||
12 | throw Error('Something interesting has happened ;-)'); |
||
13 | }; |
||
14 |