Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Why can't i work with the string response from bnx #3

Open
nikitavoloboev opened this issue Oct 27, 2023 · 0 comments
Open

Why can't i work with the string response from bnx #3

nikitavoloboev opened this issue Oct 27, 2023 · 0 comments

Comments

@nikitavoloboev
Copy link

  const res = await $`git clone https://github.com/learn-anything/seed`
  console.log(res)
  console.log(res.includes("already exists"), "res")

On this code I get these logs:

fatal: destination path 'seed' already exists and is not an empty directory.

false res

This does not make sense. In fact res. str.charAt(0) returns empty. I am confused.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant