Remove debug log
This commit is contained in:
parent
df334bc297
commit
28fe8772b1
1 changed files with 0 additions and 3 deletions
|
@ -6,8 +6,6 @@ import { Dayjs } from 'dayjs';
|
||||||
import { Duration } from 'dayjs/plugin/duration.js';
|
import { Duration } from 'dayjs/plugin/duration.js';
|
||||||
import { parseDuration, parseTimestamp } from './parse.js';
|
import { parseDuration, parseTimestamp } from './parse.js';
|
||||||
|
|
||||||
const { debug } = console;
|
|
||||||
|
|
||||||
interface Config {
|
interface Config {
|
||||||
defaults: {
|
defaults: {
|
||||||
workDayDuration: Duration;
|
workDayDuration: Duration;
|
||||||
|
@ -57,7 +55,6 @@ const getConfig = (): Config => {
|
||||||
if (fs.existsSync(configFilePath)) {
|
if (fs.existsSync(configFilePath)) {
|
||||||
configData = toml.parse(fs.readFileSync(configFilePath, 'utf8')) as unknown as RawConfig;
|
configData = toml.parse(fs.readFileSync(configFilePath, 'utf8')) as unknown as RawConfig;
|
||||||
} else {
|
} else {
|
||||||
debug('Configuration file does not exist, loading defaults');
|
|
||||||
configData = defaultConfig;
|
configData = defaultConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue