Skip to content

Commit 186ba42

Browse files
committed
C#: Remove workdir as error message when format fails.
1 parent 1243d40 commit 186ba42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/src/Stubs/make_stubs_nuget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def run_cmd(cmd, msg="Failed to run command"):
109109
print("\n --> Generated stub files: " + rawSrcOutputDir)
110110

111111
print("\n* Formatting files")
112-
run_cmd(['dotnet', 'format', rawSrcOutputDir], workDir)
112+
run_cmd(['dotnet', 'format', rawSrcOutputDir])
113113

114114
print("\n --> Generated (formatted) stub files: " + rawSrcOutputDir)
115115

0 commit comments

Comments
 (0)