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