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

9 lines
194 B
JavaScript

'use strict';
const fs = require('fs');
module.exports = function readPodfile(podfilePath) {
const podContent = fs.readFileSync(podfilePath, 'utf8');
return podContent.split(/\r?\n/g);
};