GT2/GT2-iOS/node_modules/@expo/vector-icons/website/err-if-inside-universe.js

10 lines
350 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
const execSync = require('child_process').execSync;
const repoName = execSync('git rev-parse --show-toplevel');
if (!repoName.includes('vector-icons')) {
console.error(
'[ERROR] Expo Developer: You cannot run this inside of universe! You need to clone the repo from Github to somewhere outside of universe to deploy'
);
process.exit(1);
}