Files
Mykola Mokhnach 2ed7bb04d8 feat(docutils)!: Migrate to ESM (#22585)
BREAKING CHANGE: @appium/docutils is now an ESM-only package. It can no longer be loaded via CommonJS require(); consumers must use import or dynamic import(). Deep imports into the package's internals are no longer possible — only the public entry point is exposed via exports.
2026-08-03 14:22:39 +02:00

13 lines
338 B
JavaScript
Executable File

#!/usr/bin/env node
// @ts-check
import {main} from '../build/lib/cli/index.js';
import {getLogger} from '../build/lib/logger.js';
const log = getLogger('cli');
// eslint-disable-next-line promise/prefer-await-to-callbacks
main().catch((err) => {
log.error('Caught otherwise-unhandled rejection (this is probably a bug):', err);
});