From aefdeb109b8a93a65a041091b833a61888a8b44a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Tue, 2 Oct 2018 13:38:57 +0100 Subject: [PATCH] Makes flow happy(ier) --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 20328e3f60..70152afa60 100644 --- a/src/config.js +++ b/src/config.js @@ -423,7 +423,7 @@ export default class Config { this.linkFileDependencies = Boolean(this.getOption('yarn-link-file-dependencies')); this.packBuiltPackages = Boolean(this.getOption('experimental-pack-script-packages-in-mirror')); - this.autoAddIntegrity = !boolifyWithDefault(this.getOption('unsafe-disable-integrity-migration'), 'true'); + this.autoAddIntegrity = !boolifyWithDefault(String(this.getOption('unsafe-disable-integrity-migration')), true); //init & create cacheFolder, tempFolder this.cacheFolder = path.join(this._cacheRootFolder, 'v' + String(constants.CACHE_VERSION));