You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
代码格式调整:packages/mitmproxy/**/*.js
This commit is contained in:
@@ -20,7 +20,7 @@ function createPacClient (pacFilePath) {
|
||||
|
||||
const getRules = function (pacFilePath) {
|
||||
let text = readFile(pacFilePath)
|
||||
if (text.indexOf('!---------------------EOF') < 0) {
|
||||
if (!text.includes('!---------------------EOF')) {
|
||||
text = Buffer.from(text, 'base64').toString()
|
||||
}
|
||||
const rules = []
|
||||
|
||||
Reference in New Issue
Block a user