Skip to content

Commit

Permalink
fix parsing errors (#255)
Browse files Browse the repository at this point in the history
* fix backsticks
* fix vulnerabilities
  • Loading branch information
rberrelleza authored Nov 23, 2024
1 parent b683163 commit d12994e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/okteto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export async function install(progress: vscode.Progress<{increment: number, mess
await promises.mkdir(folder, {mode: 0o700, recursive: true});
console.log(`created ${folder}`);
} catch(err: any) {
throw new Error(`failed to create dir: ${getErrorMessage(err)}`);``
throw new Error(`failed to create dir: ${getErrorMessage(err)}`);
}


Expand Down Expand Up @@ -190,7 +190,7 @@ export function up(manifest: vscode.Uri, namespace: string, name: string, port:

const config = vscode.workspace.getConfiguration('okteto');
if (config) {
const params = config.get<boolean>('upArgs') || '';
const params = config.get<string>('upArgs') || '';
cmd = `${cmd} ${params}`;
}

Expand Down Expand Up @@ -343,7 +343,7 @@ export async function setNamespace(namespace: string) {
clearTimeout(timer);
disposeTerminal(name);
resolve(true);
console.log('okteto namespace completed');console.log('okteto namespace completed');
console.log('okteto namespace completed');
}
});
});
Expand Down

0 comments on commit d12994e

Please sign in to comment.