Skip to content

Commit

Permalink
Merge pull request #161 from teonbrooks/path_cleanup
Browse files Browse the repository at this point in the history
Update params.ts
  • Loading branch information
jdpigeon authored Aug 1, 2021
2 parents 1266010 + 1ed0e29 commit 186d1ab
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions app/experiments/faces_houses/params.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
import * as path from 'path';
import { EVENTS } from '../../constants/constants';

// Default directories containing stimuli
const resourcePath =
!process.env.NODE_ENV || process.env.NODE_ENV === 'production'
? process.resourcesPath // Live Mode
: __dirname; // Dev Mode
import { EVENTS, RESOURCE_PATH } from '../../constants/constants';

const parentDir = path.join(
resourcePath,
RESOURCE_PATH,
'experiments',
'faces_houses',
'stimuli'
Expand Down

0 comments on commit 186d1ab

Please sign in to comment.