play listing uploads the hi-res icon (and the feature graphic) for a new Play language in the same edit (403 no high resolution icon set; play images skipped it), pitfall 102; script traces skip test files
This commit is contained in:
parent
256e8e33ad
commit
600b6893e5
6 changed files with 47 additions and 1 deletions
|
|
@ -68,7 +68,8 @@ export function findFastlaneTraces(root: string): FastlaneTrace[] {
|
|||
try { for (const n of readdirSync(dir)) if (SCRIPT_EXT.test(n)) files.push(join(dir, n)); } catch { /* none */ }
|
||||
}
|
||||
try { for (const n of readdirSync(root)) if (/\.(sh|bash|ps1)$/i.test(n)) files.push(join(root, n)); } catch { /* unreadable */ }
|
||||
for (const f of new Set(files)) {
|
||||
// test files quote the tools in their assertions; they upload nothing
|
||||
for (const f of [...new Set(files)].filter(x => !/\.(test|spec)\.[cm]?[jt]sx?$/i.test(x))) {
|
||||
lines(f).forEach((l, i) => {
|
||||
const m = CLI_CALL.exec(l);
|
||||
if (m) out.push({ file: rel(f), line: i + 1, text: l.trim().slice(0, 200), store: storeOf(m[1]!) });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue