Skip to content

Commit c4d336f

Browse files
Only look for .sh data loaders for now
1 parent 4b708a0 commit c4d336f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export async function runCommand(commandPath: string, outputPath: string) {
4848

4949
export async function findLoader(root: string, name: string) {
5050
// TODO: It may be more efficient use fs.readdir
51-
for (const ext of [".js", ".ts"]) {
51+
for (const ext of [".sh"]) {
5252
const path = join(root, name) + ext;
5353
const stats = await getStats(path);
5454
if (stats) return {path, stats};

0 commit comments

Comments
 (0)