(cmd)
| 4 | const isProd = process.env.NODE_ENV === 'production'; |
| 5 | |
| 6 | function exec(cmd) { |
| 7 | try { |
| 8 | return childProcess.execSync(cmd, { encoding: 'utf8' }).trim(); |
| 9 | } catch (e) { |
| 10 | // ignore |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | exports.isProd = isProd; |
| 15 | exports.alias = { |
no outgoing calls
no test coverage detected