UNPKG

motion

Version:

motion - moving development forward

16 lines (13 loc) 455 B
exports.__esModule = true; exports['default'] = editor; var _child_process = require('child_process'); function editor(file, cb) { try { var result = _child_process.execSync('atom ' + file, { stdio: 'inherit' }); cb && cb(result); } catch (e) { print('Error running atom, install at https://atom.io', '\n be sure to run "Atom > Install Shell Commands"', e); } } module.exports = exports['default']; //# sourceMappingURL=editor.js.map