diff --git a/scripts/re-add.js b/scripts/re-add.js index 46bbcbb..17f940c 100644 --- a/scripts/re-add.js +++ b/scripts/re-add.js @@ -33,7 +33,7 @@ module.exports = function (ctx) { if (fs.existsSync(project)) { replaceContents(path.join(project, 'Podfile'), (content) => { if (content.indexOf('GCDWebServer') < 0) { - content = content.replace("\nend", " pod 'GCDWebServer', :git => 'https://m.shuto.cn:8681/github/GCDWebServer.git'\nend") + content = content.replace("\nend", "\n pod 'GCDWebServer', :git => 'https://m.shuto.cn:8681/github/GCDWebServer.git'\nend") } return content; });