mirror of
https://github.com/rowyio/rowy.git
synced 2026-09-03 12:53:55 +02:00
13 lines
235 B
JavaScript
13 lines
235 B
JavaScript
const fs = require("fs");
|
|
const path = require("path");
|
|
|
|
module.exports = {
|
|
getCurrentDirectoryBase: () => {
|
|
return path.basename(process.cwd());
|
|
},
|
|
|
|
directoryExists: filePath => {
|
|
return fs.existsSync(filePath);
|
|
},
|
|
};
|