mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
* Migrate missing pieces to androidx using Jetifier * Introduce a working migration to RN .60.x * Make demo apps RN-version back-compatible * Apply ugly workaround over hermes lookup bug by RN * Apply migration to new metro config scheme * Work around an issue with componentWillMount deprecation * Make hermes location patch-script os-agnostic
12 lines
223 B
JavaScript
12 lines
223 B
JavaScript
const childProcess = require('child_process');
|
|
|
|
function sh(cmdline, opts) {
|
|
const args = cmdline.split(' ');
|
|
const cmd = args.shift();
|
|
return childProcess.execFileSync(cmd, args, opts);
|
|
}
|
|
|
|
module.exports = {
|
|
sh
|
|
};
|