🚨 Source missing error

This commit is contained in:
ful1e5 2020-08-15 17:42:14 +05:30
parent 7add3bb251
commit c82aa983d7

View file

@ -15,6 +15,7 @@ export const colorSchemes = {
// Source Directory // Source Directory
const svgsDir = path.resolve("./src/svg"); const svgsDir = path.resolve("./src/svg");
if (!fs.existsSync(svgsDir)) console.error("🚨🚨 Source files not Found 🚨🚨");
// Resolve Paths for svg // Resolve Paths for svg
const staticSvgs = staticCursors.map((svg: string) => const staticSvgs = staticCursors.map((svg: string) =>