skills: make sherpa-onnx-tts bin ESM-compatible

This commit is contained in:
bmendonca3
2026-03-02 10:22:49 -07:00
committed by Peter Steinberger
parent a8fe8b6bf8
commit 738f5d4533
2 changed files with 26 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env node
const fs = require("node:fs");
const path = require("node:path");
const { spawnSync } = require("node:child_process");
import fs from "node:fs";
import path from "node:path";
import { spawnSync } from "node:child_process";
function usage(message) {
if (message) {