@@ -32,9 +32,7 @@ for (let modPy of readdirSync(".").filter((f) => f.slice(-3) == ".py")) {
|
|||||||
mkdirSync(`${libName}/${modName}`);
|
mkdirSync(`${libName}/${modName}`);
|
||||||
|
|
||||||
// move py file
|
// move py file
|
||||||
copyFileSync(modPy, `${libName}/${modPyPath}`, {
|
copyFileSync(modPy, `${libName}/${modPyPath}`);
|
||||||
encoding: "utf8",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Add module files to repo
|
// Add module files to repo
|
||||||
writeFileSync(`${libName}/${modInitPath}`, "");
|
writeFileSync(`${libName}/${modInitPath}`, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user