Skip to content

Commit

Permalink
Merge pull request #16 from oslabs-beta/fred/testing
Browse files Browse the repository at this point in the history
fixed home and configPath
lanGrape authored Jul 25, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
2 parents e2067f5 + 48522c1 commit 40e040e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/_documentsConfig.ts
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ import fs from 'fs';
import os from 'os';
import logger from './Logging/masterlog';

const home = `${os.homedir()}\\Documents\\SeeQR`;
const home = `${os.homedir()}/Documents/SeeQR`;
const configFile = `config.json`;
const configPath = `${home}\\${configFile}`;
const configPath = `${home}/${configFile}`;

const readConfigFile = function(): DocConfigFile {
if(fs.existsSync(configPath)) {

0 comments on commit 40e040e

Please sign in to comment.