fix(core): update
This commit is contained in:
		| @@ -38,4 +38,4 @@ | ||||
|     "npmextra.json", | ||||
|     "readme.md" | ||||
|   ] | ||||
| } | ||||
| } | ||||
| @@ -27,6 +27,6 @@ tap.test('should scan a port', async () => { | ||||
| tap.test('should get the default gateways', async () => { | ||||
|   const gatewayResult = await testSmartNetwork.getDefaultGateway(); | ||||
|   console.log(gatewayResult); | ||||
| }) | ||||
| }); | ||||
|  | ||||
| tap.start(); | ||||
|   | ||||
| @@ -130,7 +130,7 @@ export class SmartNetwork { | ||||
|   } | ||||
|  | ||||
|   public async getDefaultGateway() { | ||||
|     const result =  { | ||||
|     const result = { | ||||
|       v4: await plugins.defaultGateway.v4(), | ||||
|       v6: await plugins.defaultGateway.v6() | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user