Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add emojis to compiler messges #1685

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ Try running this:

```
> deno https://deno.land/x/examples/example_test.ts
Compiling /Users/rld/src/deno_examples/example_test.ts
🔨 Compiling /Users/rld/src/deno_examples/example_test.ts
Downloading https://deno.land/x/testing/mod.ts
Compiling https://deno.land/x/testing/mod.ts
🔨 Compiling https://deno.land/x/testing/mod.ts
running 2 tests
test t1
... ok
Expand Down
2 changes: 1 addition & 1 deletion js/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ class Compiler implements ts.LanguageServiceHost, ts.FormatDiagnosticsHost {
const moduleMetaData = this._resolveModule(moduleSpecifier, containingFile);
const { fileName, mediaType, moduleId, sourceCode } = moduleMetaData;
this._scriptFileNames = [fileName];
console.warn("Compiling", moduleId);
console.warn("🔨 Compiling", moduleId);
// Instead of using TypeScript to transpile JSON modules, we will just do
// it directly.
if (mediaType === msg.MediaType.Json) {
Expand Down
2 changes: 1 addition & 1 deletion tests/console_group_warn.ts.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Compiling [WILDCARD].ts
🔨 Compiling [WILDCARD].ts
1
2
3
Expand Down
2 changes: 1 addition & 1 deletion tests/console_table.ts.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Compiling [WILDCARD].ts
🔨 Compiling [WILDCARD].ts
┌─────────┬────────┐
│ (index) │ Values │
├─────────┼────────┤
Expand Down
2 changes: 1 addition & 1 deletion tests/error_004_missing_module.ts.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Compiling [WILDCARD]tests/error_004_missing_module.ts
🔨 Compiling [WILDCARD]tests/error_004_missing_module.ts
[WILDCARD]
Uncaught NotFound: Cannot resolve module "bad-module.ts" from "[WILDCARD]/tests/error_004_missing_module.ts"
at DenoError ([WILDCARD]/js/errors.ts:[WILDCARD])
Expand Down
2 changes: 1 addition & 1 deletion tests/error_006_import_ext_failure.ts.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Compiling [WILDCARD]tests/error_006_import_ext_failure.ts
🔨 Compiling [WILDCARD]tests/error_006_import_ext_failure.ts
[WILDCARD]
Uncaught NotFound: Cannot resolve module "./non-existent" from "[WILDCARD]/tests/error_006_import_ext_failure.ts"
at DenoError ([WILDCARD]/js/errors.ts:[WILDCARD])
Expand Down
2 changes: 1 addition & 1 deletion tests/unbuffered_stderr.ts.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Compiling [WILDCARD].ts
🔨 Compiling [WILDCARD].ts
x