Skip to content

Commit cb91dde

Browse files
committed
0.1.4
1 parent 855263f commit cb91dde

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chatluna/patchbay",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Cordis 4 patches for Koishi, Satori, Satori adapters and Cordis plugins, wired into yarn, pnpm or npm",
55
"type": "module",
66
"license": "MIT",

‎tests/install.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function run(dir: string, command: string, args: string[]): string {
3737
}
3838

3939
function assertPatched(dir: string): void {
40-
assert.match(readFileSync(join(dir, 'node_modules/@cordisjs/plugin-http/lib/index.js'), 'utf8'), /resolveIntercept\]\(\), \.\.\.this\.config/)
40+
assert.match(readFileSync(join(dir, 'node_modules/@cordisjs/plugin-http/lib/index.js'), 'utf8'), /\[this\[Service\.resolveIntercept\]\(\), this\.config, init\]/)
4141
// `minato` is aliased to the patched @cordisjs/plugin-database.
4242
assert.match(readFileSync(join(dir, 'node_modules/minato/lib/index.js'), 'utf8'), /if \(name === "database"\) this\.refresh\(\)/)
4343
}

0 commit comments

Comments
 (0)