1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const cli_1 = require("./cli");
|
4 | const fs = require("fs");
|
5 | function path() {
|
6 | if (fs.existsSync(cli_1.Cli.projectPath)) {
|
7 | let stats = fs.lstatSync(cli_1.Cli.projectPath);
|
8 | if (!stats.isDirectory()) {
|
9 | cli_1.Cli.log("The path you specified is not a directory.");
|
10 | cli_1.Cli.exit(1);
|
11 | }
|
12 | }
|
13 | else {
|
14 | cli_1.Cli.log("The path you specified did not exist.");
|
15 | cli_1.Cli.exit(1);
|
16 | }
|
17 | }
|
18 | exports.path = path;
|
19 |
|
\ | No newline at end of file |