Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor config paths, fix CLI options #865

Merged
merged 6 commits into from
Aug 9, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Standarize using fs-extra instead of fs
  • Loading branch information
sqrrrl committed Aug 9, 2021
commit e4cd9528f5180db8ca02a44706a9a1b62dbaaa36
2 changes: 1 addition & 1 deletion src/commands/logout.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Conf} from '../conf.js';
import fs from 'fs';
import fs from 'fs-extra';

const config = Conf.get();

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import versions from './commands/versions.js';
import {Conf} from './conf.js';
import {PROJECT_NAME} from './constants.js';
import {spinner, stopSpinner} from './utils.js';
import fs from 'fs';
import fs from 'fs-extra';

const __dirname = dirname(fileURLToPath(import.meta.url));

Expand Down