fix: autofmt doesn't work in deno

tried to reduce but it's not worth it and related issues being open for
years gives me no confidence they will fix this. it also does not work
in bun, but i've opened https://github.com/oven-sh/bun/issues/22018
This commit is contained in:
clover caruso 2025-08-21 00:37:56 -07:00
parent fa1fc5801a
commit 0a5d9bfc17

View file

@ -10,5 +10,5 @@ pkgs.writeShellApplication {
zig
clang-tools
];
text = ''exec deno run -A ${./autofmt.js} "$@"'';
text = ''exec ${pkgs.nodejs}/bin/node ${./autofmt.js} "$@"'';
}