datasette-ts 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -4
- package/dist/cli.js.map +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -24507,12 +24507,10 @@ function parseNamedArg2(arg, nextValue) {
|
|
|
24507
24507
|
}
|
|
24508
24508
|
|
|
24509
24509
|
// src/cli.ts
|
|
24510
|
-
|
|
24511
|
-
await main();
|
|
24512
|
-
} catch (error) {
|
|
24510
|
+
void main().catch((error) => {
|
|
24513
24511
|
console.error(error);
|
|
24514
24512
|
process.exitCode = 1;
|
|
24515
|
-
}
|
|
24513
|
+
});
|
|
24516
24514
|
async function main() {
|
|
24517
24515
|
const args = process.argv.slice(2);
|
|
24518
24516
|
const [command, subcommand] = args;
|