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 10, 2021
1 parent 6ea225a commit f5ec4e0
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 f5ec4e0

Please sign in to comment.