summaryrefslogtreecommitdiff
path: root/cli/colors.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-01-08 03:08:51 +0100
committerGitHub <noreply@github.com>2021-01-08 03:08:51 +0100
commita44349dfdfecacdd4ccd343a984b05abb728bf88 (patch)
tree690b5047cc54d62ce27013ebb199e9bdc7de0937 /cli/colors.rs
parente61e81eb57351782862aa50775ce4348f10b1856 (diff)
feat: denort binary (#9041)
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/colors.rs')
-rw-r--r--cli/colors.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/colors.rs b/cli/colors.rs
index 93f252716..97813a72c 100644
--- a/cli/colors.rs
+++ b/cli/colors.rs
@@ -1,5 +1,8 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// allow(dead_code) because denort does not use this.
+#![allow(dead_code)]
+
use regex::Regex;
use std::env;
use std::fmt;