flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
19 lines • 577 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const cli_1 = require("./cli");
const fs = require("fs");
function path() {
if (fs.existsSync(cli_1.Cli.projectPath)) {
let stats = fs.lstatSync(cli_1.Cli.projectPath);
if (!stats.isDirectory()) {
cli_1.Cli.log("The path you specified is not a directory.");
cli_1.Cli.exit(1);
}
}
else {
cli_1.Cli.log("The path you specified did not exist.");
cli_1.Cli.exit(1);
}
}
exports.path = path;
//# sourceMappingURL=path.js.map