File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ function absolutizeWitPath(
6868 }
6969}
7070
71- // Recursively retrieves dependencies that contain a 'knitwit' config section
71+ // Recursively retrieves dependencies that contain a "witDependencies field in
72+ // config section of the package.json
7273export function getPackagesWithWasiDeps (
7374 dir : string ,
7475 visited : Set < string > = new Set ( ) ,
Original file line number Diff line number Diff line change @@ -8,12 +8,6 @@ import {
88import { expect } from 'chai' ;
99import sinon from 'sinon' ;
1010
11- import { fileURLToPath } from 'url' ;
12- import path from 'path' ;
13-
14- const __filename = fileURLToPath ( import . meta. url ) ;
15- const __dirname = path . dirname ( __filename ) ;
16-
1711describe ( 'readPackageJson' , ( ) => {
1812 let existsSyncStub , readFileSyncStub ;
1913 beforeEach ( ( ) => {
You can’t perform that action at this time.
0 commit comments