fix: keep resolved as absolute path #649
Annotations
3 errors and 10 warnings
Run npm test:
test/base.test.ts#L759
AssertionError: '/Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js'
Expected: "file:///Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js"
Received: "/Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js"
❯ test/base.test.ts:759:38
|
Run npm test:
test/base.test.ts#L832
AssertionError: '/Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js'
Expected: "file:///Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js"
Received: "/Users/runner/work/generator/generator/test/fixtures/generator-mocha/main.js"
❯ test/base.test.ts:832:40
|
Run npm test
Process completed with exit code 1.
|
Run npm test:
src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
|
Run npm test:
src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
|
Run npm test:
src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
|
Run npm test:
src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
|
Run npm test:
src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
|
Run npm test:
src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
|
Run npm test:
src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
|
Run npm test:
src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
|
Run npm test:
src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
|
Run npm test:
test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
|
Loading