diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-01-03 05:49:37 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-01-03 05:49:37 +0900 |
| commit | 09cd6105245f2a8624baa8eb589510d164e413b2 (patch) | |
| tree | d34d3f5d9c3b1de2b73ca2c9351f6f26c10859ee /src | |
| parent | :sparkles: (diff) | |
| download | sharkey-09cd6105245f2a8624baa8eb589510d164e413b2.tar.gz sharkey-09cd6105245f2a8624baa8eb589510d164e413b2.tar.bz2 sharkey-09cd6105245f2a8624baa8eb589510d164e413b2.zip | |
Add @types/is-root
Diffstat (limited to 'src')
| -rw-r--r-- | src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 5ce5f0ecf7..df96e6b637 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,7 @@ import * as cluster from 'cluster'; import Logger from './utils/logger'; import * as chalk from 'chalk'; const portUsed = require('tcp-port-used'); -const isRoot = require('is-root'); +import isRoot = require('is-root'); import ProgressBar from './utils/cli/progressbar'; import initdb from './db/mongodb'; import LastCommitInfo from './utils/lastCommitInfo'; |