Skip to content

CB-14064: Dependency updates & drop node4 CI#15

Merged
dpogue merged 3 commits into
apache:masterfrom
dpogue:dependency-updates
May 18, 2018
Merged

CB-14064: Dependency updates & drop node4 CI#15
dpogue merged 3 commits into
apache:masterfrom
dpogue:dependency-updates

Conversation

@dpogue

@dpogue dpogue commented May 4, 2018

Copy link
Copy Markdown
Member

Also added the pull request issue template (copied from cordova-lib) since I noticed that was missing

@dpogue
dpogue requested a review from stevengill May 4, 2018 06:17
@raphinesse

Copy link
Copy Markdown
Contributor

@dpogue The update of shelljs breaks the AppVeyor build on Windows. shell.which('ls') seems to return something unexpected here.

@dpogue

dpogue commented May 4, 2018

Copy link
Copy Markdown
Member Author

Yeah, I'm going to get a Windows VM set up to run the tests locally on Windows and see what's going on. I'd really like to not to be stuck on an old version of shelljs :\

@raphinesse

Copy link
Copy Markdown
Contributor

I got a dual boot setup here, let me take a quick look at it.

@raphinesse

Copy link
Copy Markdown
Contributor

Well basically, shelljs returns ShellString instances, while pathname.extname expects a plain string. This behavior is not Windows specific either. It's just that the problematic code in superspawn.js only is active on Windows.

So we only need to unwrap the encapsulated string. If I replace the line I linked above with the following, all tests pass on my Windows installation using node 8:

cmd = String(shell.which(cmd) || cmd);

@dpogue
dpogue force-pushed the dependency-updates branch 2 times, most recently from ce87065 to 762c7fe Compare May 5, 2018 05:48
@codecov-io

codecov-io commented May 5, 2018

Copy link
Copy Markdown

Codecov Report

Merging #15 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #15   +/-   ##
=======================================
  Coverage   85.23%   85.23%           
=======================================
  Files          19       19           
  Lines        1768     1768           
  Branches      376      376           
=======================================
  Hits         1507     1507           
  Misses        261      261
Impacted Files Coverage Δ
src/superspawn.js 69.41% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d6511e...74d1341. Read the comment docs.

@dpogue
dpogue force-pushed the dependency-updates branch from 762c7fe to 74d1341 Compare May 15, 2018 05:17
@dpogue dpogue changed the title Dependency updates & drop node4 CI CB-14064: Dependency updates & drop node4 CI May 15, 2018

@stevengill stevengill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Merge it

@dpogue
dpogue merged commit a452993 into apache:master May 18, 2018
@dpogue
dpogue deleted the dependency-updates branch May 18, 2018 16:56
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.

4 participants