Skip to content

Commit

Permalink
Merge pull request #727 from gkalpak/patch-4
Browse files Browse the repository at this point in the history
refactor(seed.config): remove redundant call to `path.normalize()`
  • Loading branch information
mgechev committed Apr 7, 2016
2 parents 14a908c + 9524fb1 commit 15173f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/config/seed.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {argv} from 'yargs';
import {normalize, join} from 'path';
import {join} from 'path';
import {InjectableDependency, Environments} from './seed.config.interfaces';

export const ENVIRONMENTS: Environments = {
Expand All @@ -10,7 +10,7 @@ export const ENVIRONMENTS: Environments = {

export class SeedConfig {
PORT = argv['port'] || 5555;
PROJECT_ROOT = normalize(join(__dirname, '..'));
PROJECT_ROOT = join(__dirname, '..');
ENV = getEnvironment();
DEBUG = argv['debug'] || false;
DOCS_PORT = argv['docs-port'] || 4003;
Expand Down

0 comments on commit 15173f1

Please sign in to comment.