Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

syntax error: unexpected ||, expecting expression #28

Open
NOOBINGITHUB opened this issue Nov 22, 2020 · 3 comments
Open

syntax error: unexpected ||, expecting expression #28

NOOBINGITHUB opened this issue Nov 22, 2020 · 3 comments

Comments

@NOOBINGITHUB
Copy link

No description provided.

@rashgul
Copy link

rashgul commented Jan 19, 2021

Any information about how to solve this issue?

@TheBdouilleur
Copy link

Same issue

@pedrasco
Copy link

Produced by: unecesary newline

  1. Go to beginning the line with de error. Starts with ||
  2. Remove characters at the beginning until the actual line joins with the previous line.
  3. solved ( only 1 line ):
    if strings.Contains(string(OsVersion), "Ubuntu") || strings.Contains(string(OsVersion), "kali") || strings.Contains(string(OsVersion), "Linux") {

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

4 participants