fix(ci): Update CI workflows, dependency paths, and project configuration
This commit is contained in:
@@ -8,7 +8,7 @@ export class Detector {
|
||||
if (parsedUrl.hostname === 'localhost') {
|
||||
console.log(`detector target is localhost on port ${parsedUrl.port}`);
|
||||
const portUnused = await this.smartnetworkInstance.isLocalPortUnused(
|
||||
parseInt(parsedUrl.port, 10)
|
||||
parseInt(parsedUrl.port, 10),
|
||||
);
|
||||
const portAvailable = !portUnused;
|
||||
return portAvailable;
|
||||
@@ -16,7 +16,7 @@ export class Detector {
|
||||
console.log(`detector target is remote domain ${parsedUrl.host} on port ${parsedUrl.port}`);
|
||||
const postAvailable = await this.smartnetworkInstance.isRemotePortAvailable(
|
||||
parsedUrl.host,
|
||||
parseInt(parsedUrl.port, 10)
|
||||
parseInt(parsedUrl.port, 10),
|
||||
);
|
||||
return postAvailable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user