Skip to content

Commit

Permalink
Merge pull request #6 from momentumframework/cli-install-version-fix-2
Browse files Browse the repository at this point in the history
fix(cli): fixing version for real.
  • Loading branch information
KerryRitter committed Feb 16, 2021
2 parents 13b7502 + d4902f3 commit b92b1ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cli/global/services/mvf-manager.service.ts
Expand Up @@ -184,9 +184,7 @@ export class MvfManagerService {
* @returns Version with a "v" prefix
*/
getInstallVersion() {
const path = `${Deno.env.get("HOME")}/.deno/bin/mvf`;
const shellContents = Deno.readTextFileSync(path);
return shellContents.match(this.versionRegex)?.pop();
return "v0.7.6";
}

private joinPaths(...paths: string[]) {
Expand Down

0 comments on commit b92b1ed

Please sign in to comment.