mirror of
https://github.com/appium/appium.git
synced 2026-02-28 06:10:10 -06:00
16 lines
392 B
JavaScript
Executable File
16 lines
392 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
// @ts-check
|
|
|
|
'use strict';
|
|
require('source-map-support').install();
|
|
|
|
const {main} = require('../build/lib/cli');
|
|
const {getLogger} = require('../build/lib/logger');
|
|
|
|
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);
|
|
});
|