summaryrefslogtreecommitdiff
path: root/cli/global_state.rs
diff options
context:
space:
mode:
authorNayeem Rahman <muhammed.9939@gmail.com>2019-12-03 22:48:53 +0000
committerRy Dahl <ry@tinyclouds.org>2019-12-03 17:48:53 -0500
commit91da410fc3bfde76c3c8930c6f8bfd4d5f9b974e (patch)
tree30e8345ddba04915fc9417d0855a0ca08feb41ac /cli/global_state.rs
parentee013102ff4ce75c1068b6e771ed120fc32a849d (diff)
feat: Add --no-remote, rename --no-fetch to --cached-only (#3417)
Diffstat (limited to 'cli/global_state.rs')
-rw-r--r--cli/global_state.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/global_state.rs b/cli/global_state.rs
index c42b444b0..981d73788 100644
--- a/cli/global_state.rs
+++ b/cli/global_state.rs
@@ -75,7 +75,8 @@ impl ThreadSafeGlobalState {
progress.clone(),
!flags.reload,
flags.cache_blacklist.clone(),
- flags.no_fetch,
+ flags.no_remote,
+ flags.cached_only,
)?;
let ts_compiler = TsCompiler::new(