@followthecode/cli 1.0.1 → 1.0.2
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/ftc.js +3 -2
- package/package.json +2 -1
package/bin/ftc.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const { spawn } = require('child_process');
|
|
4
4
|
const path = require('path');
|
|
@@ -54,9 +54,10 @@ function main() {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
// Executa o binário .NET
|
|
57
|
+
const executableDir = path.dirname(executablePath);
|
|
57
58
|
const child = spawn(executablePath, args, {
|
|
58
59
|
stdio: 'inherit',
|
|
59
|
-
cwd:
|
|
60
|
+
cwd: executableDir
|
|
60
61
|
});
|
|
61
62
|
child.on('close', (code) => process.exit(code));
|
|
62
63
|
child.on('error', (error) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@followthecode/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "CLI tool for Git repository analysis and data collection",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"LICENSE"
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
|
+
"@followthecode/cli": "^1.0.1",
|
|
63
64
|
"node-fetch": "^3.3.0"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|