File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,6 @@ export def "check pr" [
3232 { test }
3333 ] | par-each { |task | $files | do $task } # TODO: buffer output
3434 }
35-
36- test-stdlib-candidate
37- }
38-
39- export def test-stdlib-candidate [] {
40- use stdlib-candidate/testing .nu
41- testing run-tests -- allow-no-tests -- path stdlib-candidate
4235}
4336
4437# View subcommands.
@@ -78,14 +71,13 @@ export def "lint ide-check" []: path -> int {
7871 let file = $in
7972 let stub = $env .STUB_IDE_CHECK ? | default false | into bool
8073 const current_path = (path self )
81- let candidate_path = $current_path | path dirname | path join " stdlib-candidate"
8274 let diagnostics = if $stub {
83- do { nu - I $candidate_path - - no-config-file -- commands $" use '($file )'" }
75+ do { nu -- no-config-file -- commands $" use '($file )'" }
8476 | complete
8577 | [[severity message ]; [$in.exit_code $in.stderr ]]
8678 | where severity != 0
8779 } else {
88- nu - I $candidate_path - - ide-check 10 $file
80+ nu -- ide-check 10 $file
8981 | $" [($in )]"
9082 | from nuon
9183 | where type == diagnostic
You can’t perform that action at this time.
0 commit comments