react-native/local-cli/link/pods/readPodfile.js

9 lines
194 B
JavaScript
Raw Normal View History

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