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 <kaustavg@3c22fb229ff6.ant.amazon.com>
  • Loading branch information
kaustavghosh06 and Ghosh authored Nov 8, 2021
1 parent 8db8d3c commit ff19c29
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 ff19c29

Please sign in to comment.