Skip to content

Commit

Permalink
Fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozeevis committed Sep 5, 2020
1 parent 051d728 commit af3c316
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion logic/commands/getNewCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'fs';
import https from 'https';

import constants from '../constants.js';
import { Log, Error } from '../common/Logging.js';
import { Log, Error } from '../common/logging.js';
import { getFilename } from '../common/io.js';
import { generateCardMessage } from '../card-helper.js';

Expand Down
5 changes: 2 additions & 3 deletions logic/constants.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { dirname } from "path";
import { fileURLToPath } from 'url';
import path from "path";

var appDir = dirname(fileURLToPath(import.meta.url));
var appDir = path.resolve('./');

const DATADIRECTORY = `${appDir}/data`;
const SETTINGSPATH = `${DATADIRECTORY}/settings.json`;
Expand Down

0 comments on commit af3c316

Please sign in to comment.