Skip to content

Parsing for empty stash #35#36

Merged
nelsonic merged 1 commit into
dwyl:masterfrom
sashman:master
Jun 20, 2019
Merged

Parsing for empty stash #35#36
nelsonic merged 1 commit into
dwyl:masterfrom
sashman:master

Conversation

@sashman
Copy link
Copy Markdown
Contributor

@sashman sashman commented May 14, 2019

checks for empty stash.


{_, 0} = System.cmd("git", String.split("stash pop", " "))
IO.puts "\e[32mPre-commit passed!\e[0m"
System.cmd("git", String.split("stash pop", " "), stderr_to_stdout: true)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. 👍

Copy link
Copy Markdown
Member

@nelsonic nelsonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sashman thanks for adding this code and running formatter. 👍

@nelsonic nelsonic merged commit 32aafa8 into dwyl:master Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants