UNPKG
@bemedev/cli-test
Version:
latest (0.1.6)
0.1.6
0.1.5
0.1.3
0.1.2
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
A library for testing CLI libraries (INCEPTION !!)
github.com/chlbri/cli-test
chlbri/cli-test
@bemedev/cli-test
/
lib
/
helpers
/
exist.js
12 lines
(9 loc)
•
261 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ existsSync }
from
'fs'
;
import
{ getSetupFile }
from
'./getSetupFile.js'
;
const
exists
= (
) => {
const
path =
getSetupFile
();
const
check =
existsSync
(path);
return
{ check, path }; };
export
{ exists };
//# sourceMappingURL=exist.js.map