mirror of
https://github.com/openai/codex.git
synced 2026-05-04 05:11:37 +03:00
linted and working
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Re‑export TypeScript implementation so regular `.js` import paths used by
|
||||
// the existing test‑suite continue to resolve correctly at runtime.
|
||||
|
||||
export * from "./image-picker-utils.ts";
|
||||
export * from "./image-picker-utils.ts";
|
||||
|
||||
@@ -28,7 +28,10 @@ export function getDirectoryItems(
|
||||
try {
|
||||
for (const entry of fs.readdirSync(cwd, { withFileTypes: true })) {
|
||||
if (entry.isDirectory()) {
|
||||
dirs.push({ label: entry.name + "/", value: path.join(cwd, entry.name) });
|
||||
dirs.push({
|
||||
label: entry.name + "/",
|
||||
value: path.join(cwd, entry.name),
|
||||
});
|
||||
} else if (entry.isFile() && isImage(entry.name)) {
|
||||
files.push({ label: entry.name, value: path.join(cwd, entry.name) });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user