You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
github-actions: 运行单元测试
This commit is contained in:
@@ -37,16 +37,16 @@ function createPacClient (pacFilePath) {
|
||||
const __RULES__ = getRules(pacFilePath)
|
||||
|
||||
/* eslint-disable */
|
||||
// Was generated by gfwlist2pac in precise mode
|
||||
// https://github.com/clowwindy/gfwlist2pac
|
||||
// Was generated by gfwlist2pac in precise mode
|
||||
// https://github.com/clowwindy/gfwlist2pac
|
||||
|
||||
// 2019-10-06: More 'javascript' way to interaction with main program
|
||||
// 2019-02-08: Updated to support shadowsocks-windows user rules.
|
||||
// 2019-10-06: More 'javascript' way to interaction with main program
|
||||
// 2019-02-08: Updated to support shadowsocks-windows user rules.
|
||||
|
||||
const proxy = __PROXY__
|
||||
const rules = []
|
||||
|
||||
// convert to abp grammar
|
||||
// convert to abp grammar
|
||||
for (let i = 0; i < __RULES__.length; i++) {
|
||||
let s = __RULES__[i]
|
||||
if (s.substring(0, 2) === "||") s += "^"
|
||||
@@ -669,7 +669,8 @@ function createPacClient (pacFilePath) {
|
||||
|
||||
|
||||
return {
|
||||
FindProxyForURL
|
||||
FindProxyForURL,
|
||||
proxyUrl: __PROXY__
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user