@ascenda-one/github-collector 0.1.9 → 0.1.11
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/dist/cli.js +3 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -733,7 +733,9 @@ var require_stateStore = __commonJS({
|
|
|
733
733
|
var path = __importStar(__require("path"));
|
|
734
734
|
var tokenStore_1 = require_tokenStore();
|
|
735
735
|
function defaultStateFilePath(toolInstallationId) {
|
|
736
|
-
|
|
736
|
+
const dir = process.env.ASCENDA_STATE_DIR?.trim();
|
|
737
|
+
const base2 = dir ? dir : path.join(os.homedir(), ".ascenda", "state");
|
|
738
|
+
return path.join(base2, `${(0, tokenStore_1.sanitizeFilePart)(toolInstallationId)}.json`);
|
|
737
739
|
}
|
|
738
740
|
function readCollectorState(stateFilePath) {
|
|
739
741
|
try {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publishConfig": { "access": "public" },
|
|
3
3
|
"name": "@ascenda-one/github-collector",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.11",
|
|
5
5
|
"description": "Code-forge collaboration collector for Ascenda work telemetry — first-person review and pull-request signals.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|