Skip to content

Commit

Permalink
fix(core): resolve startupAssembly to ensure it is always an absolute…
Browse files Browse the repository at this point in the history
… path
  • Loading branch information
Chris Leigh committed Jan 25, 2023
1 parent f8be153 commit 7ed7f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/executors/update-swagger/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {

import { existsSync } from 'fs';
import { ensureDirSync } from 'fs-extra';
import { dirname, join } from 'path';
import { dirname, join, resolve } from 'path';

import { DotNetClient, dotnetFactory } from '@nx-dotnet/dotnet';
import {
Expand Down Expand Up @@ -99,7 +99,7 @@ export default async function runExecutor(
'tofile',
'--output',
options.output,
options.startupAssembly,
resolve(options.startupAssembly),
options.swaggerDoc,
]);

Expand Down

0 comments on commit 7ed7f30

Please sign in to comment.