File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " agoda-graphql-csharp-generator" ,
3
- "version" : " 1.1.0 " ,
3
+ "version" : " 1.1.1 " ,
4
4
"main" : " index.js" ,
5
5
"files" : [
6
6
" dist"
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const deleteFiles = async (listFiles: string[]): Promise<void> => {
48
48
// Remove input types region and update namespace/usings
49
49
async function removeInputTypesRegion ( filePath : string ) : Promise < void > {
50
50
const fileName = path . parse ( filePath ) . name . replace ( '.generated' , '' )
51
- const folder = path . dirname ( filePath ) . replace ( / \/ / g, '.' )
51
+ const folder = path . dirname ( filePath ) . replace ( / [ / \\ ] / g, '.' )
52
52
const namespace = `${ folder } .${ fileName } `
53
53
54
54
let content = await fs . readFile ( filePath , 'utf8' )
You can’t perform that action at this time.
0 commit comments