GT2/GT2-iOS/node_modules/react-native/local-cli/link/pods/readPodfile.js

9 lines
194 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
'use strict';
const fs = require('fs');
module.exports = function readPodfile(podfilePath) {
const podContent = fs.readFileSync(podfilePath, 'utf8');
return podContent.split(/\r?\n/g);
};