Skip to content

Commit

Permalink
update bfast-tools home dir how is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuamshana committed Feb 16, 2021
1 parent 97aec5f commit c1c29b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfast-tools",
"version": "0.9.0-beta.6",
"version": "0.9.0-beta.7",
"description": "Tools to manage bfast cloud projects",
"private": false,
"preferGlobal": true,
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env node
const os = require('os');
const path = require('path');
const {join} = require('path');
const file = require('fs-extra');
const BfastTools = require('./bfast.cli');
const bfast = new BfastTools();
(function () {
const path = path.join(`${os.homedir()}`,'bfast-tools');
const path = join(`${os.homedir()}`,'bfast-tools');
if (file.existsSync(path)) {
return;
}
Expand Down

0 comments on commit c1c29b2

Please sign in to comment.