Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Bugfixes #155

Merged
merged 4 commits into from
Feb 21, 2017
Merged

Bugfixes #155

merged 4 commits into from
Feb 21, 2017

Conversation

Arcanemagus
Copy link
Member

Fix a few bugs:

  • Fix the lint script
  • Fix spec activation
  • Set minimum Atom version

Looks like this never got cleaned up in #148.
Before there was a race condition as to whether the package was activating
properly or not.
Atom has only supported the configSchema since v1.4.0.
@Arcanemagus
Copy link
Member Author

Hmmm, looks like it wasn't the race condition in package activation in the specs that caused the earlier CI failure...

@Arcanemagus
Copy link
Member Author

Arcanemagus commented Nov 16, 2016

Okay, so it looks like the Electron update in Atom v1.12.0 broke execution of the cli.js script from the version of csslint we are using.

When running this script manually under Node.js v7 the following warnings are thrown:

(node:10848) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Promise.defer is not a function
(node:10848) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

So I'm guessing something is rather broken in the csslint code that is no longer being worked around.

@Arcanemagus
Copy link
Member Author

Looks like this is actually code introduced by @steelbrain as part of the stdin support.

@Arcanemagus Arcanemagus merged commit c00ae89 into master Feb 21, 2017
@Arcanemagus Arcanemagus deleted the cleanup branch February 21, 2017 17:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant