You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2021/08/19 16:18:48 UTC
[dubbo-js] branch master updated: fixed: use unlinkSync replace
rmSync
This is an automated email from the ASF dual-hosted git repository.
hufeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
The following commit(s) were added to refs/heads/master by this push:
new b089202 fixed: use unlinkSync replace rmSync
b089202 is described below
commit b089202846da8bb63f6f1fd8af7429bf698af677
Author: hufeng <fe...@gmail.com>
AuthorDate: Fri Aug 20 00:17:39 2021 +0800
fixed: use unlinkSync replace rmSync
---
packages/dubbo-test/src/__tests__/dubbo-directly-invoker-test.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/dubbo-test/src/__tests__/dubbo-directly-invoker-test.ts b/packages/dubbo-test/src/__tests__/dubbo-directly-invoker-test.ts
index c504276..e999f60 100644
--- a/packages/dubbo-test/src/__tests__/dubbo-directly-invoker-test.ts
+++ b/packages/dubbo-test/src/__tests__/dubbo-directly-invoker-test.ts
@@ -46,7 +46,7 @@ beforeAll(async () => {
afterAll(async () => {
// clear port file
- fs.rmSync(
+ fs.unlinkSync(
path.join(process.cwd(), '.dubbojs', String(dubboService.getPort()))
)
dubbo.close()