We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hsm push
1 parent e4e0fd4 commit 43deef2Copy full SHA for 43deef2
src/push.ts
@@ -79,7 +79,7 @@ export async function push(
79
if (hackmudFolder instanceof Error)
80
return hackmudFolder
81
82
- const sourceFolderFolders = sourceFolder.filter(({ stats }) => stats.isDirectory())
+ const sourceFolderFolders = sourceFolder.filter(({ name, stats }) => stats.isDirectory() && /^[a-z_][a-z\d_]{0,24}$/.test(name))
83
84
const allUsers = new Set([
85
...scripts.map(scriptName => ensure(scriptName.split(`.`)[0], HERE)).filter(name => name != `*`),
0 commit comments