Skip to content

Commit

Permalink
feat: change override.ts file to override.ts.sample in resources/ for…
Browse files Browse the repository at this point in the history
… pkg CLI to work (#8716)

Co-authored-by: Ghosh <[email protected]>
  • Loading branch information
2 people authored and ammarkarachi committed Nov 12, 2021
1 parent 06b7959 commit 1804b11
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ export const generateTsConfigforProject = (backendDir: string, srcResourceDirPat
// ensure build dir path
fs.ensureDirSync(path.join(destDirPath, 'build'));
const resourceTsConfigFileName = path.join(destDirPath, 'build', 'tsconfig.resource.json');
fs.writeFileSync(overrideFileName, fs.readFileSync(path.join(srcResourceDirPath, 'override.ts')));
fs.writeFileSync(overrideFileName, fs.readFileSync(path.join(srcResourceDirPath, 'override.ts.sample')));
fs.writeFileSync(resourceTsConfigFileName, fs.readFileSync(path.join(srcResourceDirPath, 'tsconfig.resource.json')));
};

0 comments on commit 1804b11

Please sign in to comment.