mirror of
https://github.com/appium/appium.git
synced 2026-10-26 02:29:38 +08:00
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.
13 lines
338 B
JavaScript
Executable File
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);
|
|
});
|