Skip to content

Commit a6c4130

Browse files
authored
Update toolkit.nu per removal of stdlib-candidate (#1046)
stdlib-candidate was removed in #1042 but test script still refer on it. The concensus is to [remove](#1044 (comment)) the test case.
1 parent 90eb75d commit a6c4130

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

toolkit.nu

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)