Skip to content

Commit

Permalink
fix: Disable tslint for a line
Browse files Browse the repository at this point in the history
  • Loading branch information
erdkse authored and kambydyne committed Oct 7, 2021
1 parent a9cd31e commit 1cd52df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/redux/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {PROCESS_ENV} from '@utils/env';
export function getStaticResourcePath(resourcePath: string) {
return PROCESS_ENV.NODE_ENV === 'development'
? path.join('resources', resourcePath)
: path.join(process.resourcesPath, 'resources', resourcePath);
: // @ts-ignore
path.join(process.resourcesPath, 'resources', resourcePath);
}

/**
Expand Down

0 comments on commit 1cd52df

Please sign in to comment.