rird 1.1.15 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/rird +10 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/installation/index.ts +1 -1
package/bin/rird
CHANGED
|
@@ -291,6 +291,16 @@ if (command === "activate") {
|
|
|
291
291
|
// Enable RIRD search tools
|
|
292
292
|
env.RIRD_ENABLE_SEARCH = "true"
|
|
293
293
|
|
|
294
|
+
function run(binPath) {
|
|
295
|
+
const result = childProcess.spawnSync(binPath, args, {
|
|
296
|
+
stdio: "inherit",
|
|
297
|
+
env: env,
|
|
298
|
+
cwd: process.cwd(),
|
|
299
|
+
shell: os.platform() === 'win32'
|
|
300
|
+
})
|
|
301
|
+
process.exit(result.status ?? 0)
|
|
302
|
+
}
|
|
303
|
+
|
|
294
304
|
const args = process.argv.slice(2)
|
|
295
305
|
|
|
296
306
|
const resolved = findBinary(scriptDir)
|
package/package.json
CHANGED
package/src/index.ts
CHANGED