Skip to content

Commit

Permalink
Update params.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
teonbrooks committed Jul 7, 2021
1 parent 1266010 commit 1ed0e29
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 1ed0e29

Please sign in to comment.