Skip to content

add error for local changes overwritten - #271

Merged
shiftkey merged 5 commits into
desktop:masterfrom
kactus-io:master
Jan 29, 2019
Merged

shiftkey merged 5 commits into
desktop:masterfrom
kactus-io:master

Conversation

@mathieudutour

Copy link
Copy Markdown
Contributor

No description provided.

@shiftkey

Copy link
Copy Markdown
Member

@mathieudutour thanks for the PR! I thought there was a problem on our end but it turns out that the new test introduces a linting issue:

$ npm run is-it-pretty

> [email protected] is-it-pretty /Users/shiftkey/src/dugite
> prettier --check "{examples,lib,script,test}/**/*.ts"

Checking formatting...
test/fast/git-process-test.ts
Code style issues found in the above file(s). Forgot to run Prettier?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] is-it-pretty: `prettier --check "{examples,lib,script,test}/**/*.ts"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] is-it-pretty script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/shiftkey/.npm/_logs/2019-01-28T22_42_25_147Z-debug.log

Running npm run prettify will tidy this up.

@mathieudutour

mathieudutour commented Jan 28, 2019 •

Copy link
Copy Markdown
Contributor Author

Fixed! If I have time I might send a PR to desktop/desktop to use this new error and show an actionable popup when it's happening (maybe stash/discard/cancel)

@shiftkey

Copy link
Copy Markdown
Member

@mathieudutour thanks! I'll see if I can publish a new release to NPM in the meantime to unblock you!

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