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 (aws-amplify#8716)

Co-authored-by: Ghosh <[email protected]>
  • Loading branch information
2 people authored and Sachin Panemangalore committed Nov 11, 2021
1 parent dfebb10 commit 156b13e
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 156b13e

Please sign in to comment.