(toolsVersion)
| 560 | |
| 561 | // Springboard to a pre-0.9.0 release. |
| 562 | var oldSpringboard = function (toolsVersion) { |
| 563 | // Strip off the "node" and "meteor.js" from argv and replace it with the |
| 564 | // appropriate tools's meteor shell script. |
| 565 | var newArgv = process.argv.slice(2); |
| 566 | var cmd = |
| 567 | files.pathJoin(warehouse.getToolsDir(toolsVersion), 'bin', 'meteor'); |
| 568 | |
| 569 | // Release our connection to the sqlite catalog database for the current |
| 570 | // process, so that the springboarded process can reestablish it. |
| 571 | catalog.official.closePermanently(); |
| 572 | |
| 573 | // Now exec; we're not coming back. |
| 574 | require('kexec')(cmd, newArgv); |
| 575 | throw Error('exec failed?'); |
| 576 | }; |
| 577 | |
| 578 | |
| 579 | /////////////////////////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected
searching dependent graphs…