codemem 0.29.0 → 0.29.1
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/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -102,8 +102,9 @@ var BOOLEAN_TOGGLE_VALUES = new Set([
|
|
|
102
102
|
"no"
|
|
103
103
|
]);
|
|
104
104
|
function expandHome$2(value) {
|
|
105
|
-
|
|
106
|
-
if (value
|
|
105
|
+
const home = process.env.HOME?.trim() || homedir();
|
|
106
|
+
if (value === "~") return home;
|
|
107
|
+
if (value.startsWith("~/")) return join(home, value.slice(2));
|
|
107
108
|
return value;
|
|
108
109
|
}
|
|
109
110
|
function pluginLogPath() {
|