Skip to content

Commit

Permalink
fix(vscode): use png icons instead of svg
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Feb 5, 2024
1 parent 9ac3ea9 commit b8256ec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dist
test-results

playground
examples

# svg files
**/*.svg
Expand Down
Binary file added icons/cucumber.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
"Cucumber"
],
"icon": {
"light": "./icons/cucumber.svg",
"dark": "./icons/cucumber.svg"
"light": "./icons/cucumber.png",
"dark": "./icons/cucumber.png"
},
"extensions": [
".feature"
Expand All @@ -104,8 +104,8 @@
"Markdown"
],
"icon": {
"light": "./icons/cucumber.svg",
"dark": "./icons/cucumber.svg"
"light": "./icons/cucumber.png",
"dark": "./icons/cucumber.png"
},
"extensions": [
".feature.md"
Expand Down
2 changes: 1 addition & 1 deletion src/GherkinParser/gherkin_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def build_gherkin_model(source: PathLike[str], content: Optional[str] = None) ->
source=str(path),
)

file.save(path.with_suffix(".robot").with_stem("_" + path.name))
# file.save(path.with_suffix(".robot").with_stem("_" + path.name))

return file, gherkin_document["feature"]["name"]
except (SystemExit, KeyboardInterrupt):
Expand Down

0 comments on commit b8256ec

Please sign in to comment.