fix(type-generator): make the generated by message consistent on windows (#4888)
This commit is contained in:
parent
80f8a0fdf5
commit
4a89158293
|
|
@ -91,7 +91,7 @@ let hadChanges = false;
|
|||
return classBody(docClassForName(className));
|
||||
});
|
||||
const classes = documentation.classesArray.filter(cls => !handledClasses.has(cls.name));
|
||||
let output = `// This file is generated by ${__filename.substring(path.join(__dirname, '..', '..').length)}
|
||||
let output = `// This file is generated by ${__filename.substring(path.join(__dirname, '..', '..').length).split(path.sep).join(path.posix.sep)}
|
||||
${overrides}
|
||||
|
||||
${classes.map(classDesc => classToString(classDesc)).join('\n')}
|
||||
|
|
|
|||
Loading…
Reference in a new issue