[BUGFIX] execSync compat issue #92#93
Conversation
a617741 to
2b94ed0
Compare
|
@joebartels Thanks for working on this. In the test, it looks like what you are stubbing doesn't match the usage. I think this is the source of the failure? Can you fix? |
2b94ed0 to
27df3c6
Compare
|
@lukemelia thanks for the feedback. I've updated how the sha test builds a stub for // sha-test.js
var syncExec = require('sync-exec');
...
var GIT_SHA = syncExec('git rev-parse HEAD').stdout;then no sandboxing is required for |
27df3c6 to
0d6ffd0
Compare
|
or create a utility, |
|
Left you a PR @joebartels |
|
@joebartels After you merge my PR, go ahead and squash it down to one commit with a descriptive message, and I'll merge it in the morning. |
73bd056 to
18c9bc6
Compare
Fixes ember-cli-deploy#90, Fixes ember-cli-deploy#93 Allow option to pass syncExec function to tagging adapter via constructor instead.
Fixes ember-cli-deploy#90, Fixes ember-cli-deploy#92 Allow option to pass syncExec function to tagging adapter via constructor instead.
18c9bc6 to
3be3937
Compare
|
👍 really appreciate the help @lukemelia |
[BUGFIX] execSync compat issue #92
branch is intended to resolve issues around
child_processexecSynccompatibility among the nodejs versions and platforms it's installed on. sync-exec is a good candidate. Another possible sol'n is latest version of execSync as noted by @duizendnegen in #92This PR uses sync-exec and was confirmed to resolve #92 and is a potential fix for #90