Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
refactor: rename server index to app.ts
Browse files Browse the repository at this point in the history
re #369
  • Loading branch information
tamj0rd2 committed Aug 16, 2020
1 parent a7c466e commit f0073c4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/serve/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from 'path'
import { transformConfigs, ServeConfig, ValidatedServeConfig } from './config'
import { TypeValidator } from '~validation'
import chokidar from 'chokidar'
import { StartServerResult } from './server'
import { StartServerResult } from './server/app'
import { LoadConfig, LoadConfigStatus } from '~config/load'
import { red } from 'chalk'
import { NcdcLogger } from '~logger'
Expand Down
2 changes: 1 addition & 1 deletion src/commands/serve/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Argv } from 'yargs'
import { GetRootDeps } from '../shared'
import * as consts from '~commands/options'
import createHandler, { ServeArgs, GetServeDeps } from './handler'
import { startServer } from './server'
import { startServer } from './server/app'
import loadConfig from '~config/load'
import { TypeValidator } from '~validation'
import Ajv from 'ajv'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import request from 'supertest'
import { configureServer, verbsMap, PossibleMethod, ReqResLog } from '.'
import { configureServer, verbsMap, PossibleMethod, ReqResLog } from './app'
import { ConfigBuilder, SupportedMethod } from '~config/types'
import { TypeValidator } from '~validation'
import { mockObj } from '~test-helpers'
Expand Down
File renamed without changes.

0 comments on commit f0073c4

Please sign in to comment.