fix(core): update
This commit is contained in:
parent
8f71c68d8c
commit
f105cdc806
@ -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()
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user