brunodavi / brunodavi/http-script

Implement removal of spaces at the beginning of the script

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
JavaScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Implement space removal when in a code block, ignoring tabs/spaces from the beginning

**Example**
```js
// ... Rest Code ...
getUser(userId, token) {
return htttpScript(
`Get :8000/user/${userId}
Authorizarion: Bearer ${token}
`, request
)
}
// ... Rest Code ...
```

Add this functionality in this function

https://github.com/brunodavi/http-script/blob/7b61fee520c55796b3148eafb0d6bf20a1522510/src/httpScript.js#L77-L80

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.