Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://github.com/mikaelbr/node-notifier/issues/99 #118

Merged
merged 3 commits into from
May 11, 2016

Conversation

gucong3000
Copy link

fix #99 & add test for this


it('should parse file protocol URL', function (done) {
utils.fileCommand = function (notifier, argsList, callback) {
argsList[1].should.eql(path.resolve("C:\\node-notifier\\test\\fixture\\coulson.jpg"));
Copy link
Owner

Choose a reason for hiding this comment

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

This should probably use path.sep or even better path.join?

@mikaelbr
Copy link
Owner

Brilliant! Thanks again. I haven't gotten around to prioritize this yet.

Could you also add a test without file:// schema?

@gucong3000
Copy link
Author

@mikaelbr ok

@gucong3000
Copy link
Author

Done.
Test for:

@mikaelbr
Copy link
Owner

Looks good! Thanks 🎉

@mikaelbr mikaelbr merged commit bc68786 into mikaelbr:master May 11, 2016
@gucong3000 gucong3000 deleted the issues99 branch May 12, 2016 04:52
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.

Windows 8.1 does not support file:///xxx protocol icon paths
2 participants