Skip to content

Commit

Permalink
remove extraneous logging (v0.1.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeOShannessy committed Jul 16, 2024
1 parent 95ca0ed commit 74bac3a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smoke-cloud/smv-rpc",
"version": "0.1.2",
"version": "0.1.3",
"exports": "./mod.ts",
"lint": {
"rules": {
Expand Down
2 changes: 0 additions & 2 deletions jsonrpcwin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ switch (Deno.build.os) {
}

const libName = `./bin/jsonrpc.${libSuffix}`;
console.log(libName);
// Open library and define exported symbols

export class JsonRpcClientWin {
Expand Down Expand Up @@ -54,7 +53,6 @@ export class JsonRpcClientWin {
constructor(public socketPath: string) {
this.client = this.dylib.symbols
.jrpc_client_create_ptr();
console.log(this.client);
this.conn = this.dylib.symbols.jrpc_client_connect_ptr(
this.client,
new TextEncoder().encode(`${this.socketPath}\0`),
Expand Down
2 changes: 0 additions & 2 deletions process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ export class SmokeviewProcess {
try {
// poll until socket file exists. We can't use stat to be compatible
// with windows.
console.log(this.socketPath);
let exists = false;
const socketDir = path.dirname(this.socketPath);
while (!exists) {
for await (const dirEntry of Deno.readDir(socketDir)) {
console.log(dirEntry.name);
if (dirEntry.name === path.basename(this.socketPath)) {
exists = true;
break;
Expand Down

0 comments on commit 74bac3a

Please sign in to comment.