Skip to content

Commit

Permalink
Removed spinner logging
Browse files Browse the repository at this point in the history
Loading the configuration is not a time intensive process and is called multiple times, making a loading indicator useless and logging excessive.
  • Loading branch information
MitchPierias committed Apr 25, 2019
1 parent 5eae772 commit 97d9625
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/configManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
exists as existsCallback,
} from 'fs';
import { promisify } from 'util';
import * as spinner from './cli/logIndicator';

const exists = promisify(existsCallback);
const mkdirp = promisify(mkdirpCallback);
Expand Down Expand Up @@ -71,8 +70,6 @@ export class ConfigManager {
* @author Kevin Brown <github.com/thekevinbrown>
*/
public static async initWithDefaults() {
// Begin log output
spinner.create('Loading configuration...');
// Check if configuration exists
if (!(await exists(CONFIG_FILE_PATH))) {
// Fetch the latest repository configuration
Expand All @@ -87,7 +84,6 @@ export class ConfigManager {
}
// Load existing configuration
await ConfigManager.loadConfigFromDisk();
spinner.end();
}

/**
Expand Down

0 comments on commit 97d9625

Please sign in to comment.