Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
disable .jx and .node-gyp removal since #1509
Browse files Browse the repository at this point in the history
  • Loading branch information
larryonoff authored and Ilya Laryionau committed Nov 15, 2016
1 parent 8c64aad commit 916e515
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions thali/install/validateBuildEnvironment.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,13 +350,19 @@ if (require.main === module) {
'Versions and commandsAndResults keys must be equal');
processCommandsAndResults(commandsAndResults)
.then(() => {
// .jx and .node-gyp removal disabled since the issue,
// see https://github.com/thaliproject/Thali_CordovaPlugin/issues/1509

// Good to clean this up in case we have changed the version of jxcore
const home = process.env.HOME;
const jx = path.join(home, '.jx');
// const jx = path.join(home, '.jx');
const jxc = path.join(home, '.jxc');
const nodeGyp = path.join(home, '.node-gyp');
return Promise.all([fs.removeAsync(jx), fs.removeAsync(jxc),
fs.removeAsync(nodeGyp)]);
// const nodeGyp = path.join(home, '.node-gyp');
return Promise.all([
// fs.removeAsync(jx),
fs.removeAsync(jxc),
// fs.removeAsync(nodeGyp)
]);
})
.then(() => {
console.log('Environment validated');
Expand Down

0 comments on commit 916e515

Please sign in to comment.