File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
packages/codegen-core/src/symbols Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -35,19 +35,20 @@ export default defineConfig(() => {
3535 // },
3636 path : path . resolve (
3737 getSpecsPath ( ) ,
38- // '3.0.x',
39- '3.1.x' ,
38+ '3.0.x' ,
39+ // '3.1.x',
4040 // 'circular.yaml',
4141 // 'dutchie.json',
4242 // 'enum-names-values.yaml',
4343 // 'invalid',
4444 // 'full.yaml',
45+ 'sdk-method-class-conflict.yaml' ,
4546 // 'object-property-names.yaml',
4647 // 'openai.yaml',
4748 // 'opencode.yaml',
4849 // 'pagination-ref.yaml',
4950 // 'sdk-instance.yaml',
50- 'sdk-nested-classes.yaml' ,
51+ // 'sdk-nested-classes.yaml',
5152 // 'string-with-format.yaml',
5253 // 'transformers.json',
5354 // 'transformers-recursive.json',
Original file line number Diff line number Diff line change 1+ import path from 'node:path' ;
2+
13import { symbolBrand } from '../brands' ;
24import { debug } from '../debug' ;
35import type { ISymbolMeta } from '../extensions' ;
@@ -97,7 +99,11 @@ export class Symbol {
9799 constructor ( input : ISymbolIn , id : number ) {
98100 this . _exported = input . exported ?? false ;
99101 this . _exportFrom = input . exportFrom ?? [ ] ;
100- this . _external = input . external ;
102+ if ( input . external ) {
103+ this . _external = input . external
104+ . split ( path . win32 . sep )
105+ . join ( path . posix . sep ) ;
106+ }
101107 this . _getFilePath = input . getFilePath ;
102108 this . id = id ;
103109 this . _importKind = input . importKind ?? 'named' ;
You can’t perform that action at this time.
0 commit comments