Skip to content

fix: keep resolved as absolute path #649

fix: keep resolved as absolute path

fix: keep resolved as absolute path #649

Triggered via push December 12, 2024 09:36
Status Failure
Total duration 2m 7s
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 93 warnings
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: 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
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: 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
build (macos-latest, 18)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: 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
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: 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
build (macos-latest, 20)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: test/base.test.ts#L759
AssertionError: '/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" Received: "/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" ❯ test/base.test.ts:759:38
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: test/base.test.ts#L832
AssertionError: '/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" Received: "/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" ❯ test/base.test.ts:832:40
build (ubuntu-latest, 20)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: test/base.test.ts#L759
AssertionError: '/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" Received: "/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" ❯ test/base.test.ts:759:38
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: test/base.test.ts#L832
AssertionError: '/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" Received: "/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" ❯ test/base.test.ts:832:40
build (ubuntu-latest, 22)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: test/base.test.ts#L759
AssertionError: '/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" Received: "/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" ❯ test/base.test.ts:759:38
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: test/base.test.ts#L832
AssertionError: '/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' == 'file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" Received: "/home/runner/work/generator/generator/test/fixtures/generator-mocha/main.js" ❯ test/base.test.ts:832:40
build (ubuntu-latest, 18)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: 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
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: 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
build (macos-latest, 22)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: test/base.test.ts#L759
AssertionError: 'D:\\a\\generator\\generator\\test\\fixtures\\generator-mocha\\main.js' == 'file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js" Received: "D:\a\generator\generator\test\fixtures\generator-mocha\main.js" ❯ test/base.test.ts:759:38
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: test/base.test.ts#L832
AssertionError: 'D:\\a\\generator\\generator\\test\\fixtures\\generator-mocha\\main.js' == 'file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js" Received: "D:\a\generator\generator\test\fixtures\generator-mocha\main.js" ❯ test/base.test.ts:832:40
build (windows-latest, 18)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: test/base.test.ts#L759
AssertionError: 'D:\\a\\generator\\generator\\test\\fixtures\\generator-mocha\\main.js' == 'file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js" Received: "D:\a\generator\generator\test\fixtures\generator-mocha\main.js" ❯ test/base.test.ts:759:38
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: test/base.test.ts#L832
AssertionError: 'D:\\a\\generator\\generator\\test\\fixtures\\generator-mocha\\main.js' == 'file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js" Received: "D:\a\generator\generator\test\fixtures\generator-mocha\main.js" ❯ test/base.test.ts:832:40
build (windows-latest, 22)
Process completed with exit code 1.
test/base.test.ts > Base > #composeWith() > runs the composed Generator class in the passed path: test/base.test.ts#L759
AssertionError: 'D:\\a\\generator\\generator\\test\\fixtures\\generator-mocha\\main.js' == 'file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js" Received: "D:\a\generator\generator\test\fixtures\generator-mocha\main.js" ❯ test/base.test.ts:759:38
test/base.test.ts > Base > #composeWith() > when passing a local path to a generator > sets correct metadata on the Generator constructor: test/base.test.ts#L832
AssertionError: 'D:\\a\\generator\\generator\\test\\fixtures\\generator-mocha\\main.js' == 'file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js' Expected: "file:///D:/a/generator/generator/test/fixtures/generator-mocha/main.js" Received: "D:\a\generator\generator\test\fixtures\generator-mocha\main.js" ❯ test/base.test.ts:832:40
build (windows-latest, 20)
Process completed with exit code 1.
build (macos-latest, 18): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 18): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (macos-latest, 18): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (macos-latest, 18): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 18): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 18): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (macos-latest, 18): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (macos-latest, 18): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (macos-latest, 18): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (macos-latest, 18): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 20): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 20): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (macos-latest, 20): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (macos-latest, 20): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 20): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 20): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (macos-latest, 20): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (macos-latest, 20): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (macos-latest, 20): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (macos-latest, 20): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest, 20): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 20): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (ubuntu-latest, 20): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (ubuntu-latest, 20): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 20): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 20): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (ubuntu-latest, 20): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (ubuntu-latest, 20): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (ubuntu-latest, 20): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (ubuntu-latest, 20): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest, 22): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 22): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (ubuntu-latest, 22): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (ubuntu-latest, 22): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 22): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 22): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (ubuntu-latest, 22): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (ubuntu-latest, 22): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (ubuntu-latest, 22): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest, 22): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 18): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 18): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (ubuntu-latest, 18): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (ubuntu-latest, 18): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 18): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (ubuntu-latest, 18): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (ubuntu-latest, 18): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (ubuntu-latest, 18): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (ubuntu-latest, 18): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (ubuntu-latest, 18): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 22): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 22): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (macos-latest, 22): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (macos-latest, 22): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 22): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (macos-latest, 22): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (macos-latest, 22): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (macos-latest, 22): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (macos-latest, 22): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (macos-latest, 22): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 18): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 18): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (windows-latest, 18): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (windows-latest, 18): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 18): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 18): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (windows-latest, 18): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (windows-latest, 18): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (windows-latest, 18): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (windows-latest, 18): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 22): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 22): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (windows-latest, 22): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (windows-latest, 22): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 22): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 22): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (windows-latest, 22): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (windows-latest, 22): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (windows-latest, 22): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (windows-latest, 22): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 20): src/actions/fs.ts#L6
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 20): src/actions/fs.ts#L217
Method 'renderTemplate' has too many parameters (6). Maximum allowed is 5
build (windows-latest, 20): src/actions/fs.ts#L248
Async method 'renderTemplateAsync' has too many parameters (6). Maximum allowed is 5
build (windows-latest, 20): src/actions/help.ts#L5
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 20): src/actions/spawn-command.ts#L12
Using exported name 'BaseGenerator' as identifier for default export
build (windows-latest, 20): src/generator.ts#L294
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (windows-latest, 20): src/generator.ts#L302
Caution: `semver` also has a named export `lte`. Check if you meant to write `import {lte} from 'semver'` instead
build (windows-latest, 20): src/util/storage.ts#L11
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (windows-latest, 20): src/util/storage.ts#L14
'receiver' is defined but never used. Allowed unused args must match /^_/u
build (windows-latest, 20): test/fs.test.ts#L8
Using exported name 'BaseGenerator' as identifier for default export