File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
onlinejudge_verify/languages Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ def _check_dotnet_version() -> None:
27
27
res = subprocess .check_output (command ).decode ().strip ()
28
28
logger .info ('dotnet version: %s' , res )
29
29
if distutils .version .LooseVersion (res ) <= distutils .version .LooseVersion ("6" ):
30
- raise RuntimeError ("needs .NET 6 or newer SDK " )
30
+ raise RuntimeError ("oj-verify needs .NET 6 SDK or newer" )
31
31
32
32
33
33
@functools .lru_cache (maxsize = 1 )
34
34
def _check_expander_console () -> None :
35
35
if not shutil .which ('dotnet-source-expand' ):
36
36
raise RuntimeError (
37
- '`dotnet-source-expand` not in $PATH. You needs SourceExpander.Console. `dotnet tool install -g SourceExpander.Console`' )
37
+ '`dotnet-source-expand` not in $PATH. Run `dotnet tool install -g SourceExpander.Console`' )
38
38
command = ['dotnet-source-expand' , 'version' ]
39
39
logger .info ('$ %s' , ' ' .join (command ))
40
40
res = subprocess .check_output (command ).decode ().strip ()
You can’t perform that action at this time.
0 commit comments