Skip to content

Commit

Permalink
Update yn default option
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed May 12, 2017
1 parent cc3bf22 commit d018300
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -72,6 +72,6 @@
"source-map-support": "^0.4.0",
"tsconfig": "^6.0.0",
"v8flags": "^2.0.11",
"yn": "^1.2.0"
"yn": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -80,7 +80,7 @@ export interface TypeInfo {
const DEFAULTS = {
getFile,
fileExists,
cache: process.env['TS_NODE_CACHE'] ? yn(process.env['TS_NODE_CACHE']) : true,
cache: yn(process.env['TS_NODE_CACHE'], { default: true }),
cacheDirectory: process.env['TS_NODE_CACHE_DIRECTORY'],
disableWarnings: yn(process.env['TS_NODE_DISABLE_WARNINGS']),
compiler: process.env['TS_NODE_COMPILER'],
Expand Down
2 changes: 1 addition & 1 deletion typings.json
Expand Up @@ -11,7 +11,7 @@
"tsconfig": "npm:tsconfig",
"v8flags": "registry:npm/v8flags#3.0.0+20161011212142",
"xtend": "registry:npm/xtend#4.0.0+20160211003958",
"yn": "registry:npm/yn#1.2.0+20161006191459"
"yn": "registry:npm/yn#1.3.0+20170508185912"
},
"globalDependencies": {
"node": "registry:env/node#6.0.0+20170213133316"
Expand Down

0 comments on commit d018300

Please sign in to comment.