Skip to content

Commit 2ea2570

Browse files
Tungsten78Chris Leigh
andauthored
fix(core): resolve startupAssembly to ensure it is always an absolute path (#595)
Co-authored-by: Chris Leigh <chris.leigh@sbdinc.com> Fixes #594
1 parent f8be153 commit 2ea2570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/executors/update-swagger/executor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88

99
import { existsSync } from 'fs';
1010
import { ensureDirSync } from 'fs-extra';
11-
import { dirname, join } from 'path';
11+
import { dirname, join, resolve } from 'path';
1212

1313
import { DotNetClient, dotnetFactory } from '@nx-dotnet/dotnet';
1414
import {
@@ -99,7 +99,7 @@ export default async function runExecutor(
9999
'tofile',
100100
'--output',
101101
options.output,
102-
options.startupAssembly,
102+
resolve(options.startupAssembly),
103103
options.swaggerDoc,
104104
]);
105105

0 commit comments

Comments
 (0)