Skip to content

Commit 68c8b22

Browse files
committed
fix: removed path.resolve from directory transformation
1 parent a5c8893 commit 68c8b22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codify-plugin-lib",
3-
"version": "1.0.170",
3+
"version": "1.0.171",
44
"description": "Library plugin library",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",

src/resource/resource-settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export function resolveFnFromEqualsFnOrString(
398398

399399
const ParameterTransformationDefaults: Partial<Record<ParameterSettingType, InputTransformation>> = {
400400
'directory': {
401-
to: (a: unknown) => path.resolve(resolvePathWithVariables((untildify(String(a))))),
401+
to: (a: unknown) => resolvePathWithVariables((untildify(String(a)))),
402402
from: (a: unknown, original) => {
403403
if (ParameterEqualsDefaults.directory!(a, original)) {
404404
return original;

0 commit comments

Comments
 (0)