Skip to content

Commit

Permalink
chore: fmt and fix ci status (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
lino-levan authored Dec 27, 2022
1 parent f2f373f commit b5d1d5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tty

[![Tags](https://img.shields.io/github/release/denosaurs/tty)](https://github.com/denosaurs/tty/releases)
[![CI Status](https://img.shields.io/github/workflow/status/denosaurs/tty/check)](https://github.com/denosaurs/tty/actions)
[![CI Status](https://img.shields.io/github/actions/workflow/status/denosaurs/tty/check.yml?branch=main)](https://github.com/denosaurs/tty/actions)
[![License](https://img.shields.io/github/license/denosaurs/tty)](https://github.com/denosaurs/tty/blob/master/LICENSE)

<p align="center">
Expand Down
4 changes: 3 additions & 1 deletion is_interactive.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export async function isInteractiveAsync(stream: { rid: number }): Promise<boolean> {
export async function isInteractiveAsync(
stream: { rid: number },
): Promise<boolean> {
if (await Deno.permissions.query({ name: "env" })) {
return (
Deno.isatty(stream.rid) &&
Expand Down

0 comments on commit b5d1d5f

Please sign in to comment.