Skip to content

Commit

Permalink
Update packages/amplify-e2e-core/src/utils/transform-current-project-…
Browse files Browse the repository at this point in the history
…to-git-pulled-project.ts
  • Loading branch information
jhockett committed Mar 9, 2022
1 parent 923291a commit 0ac8f73
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -9,8 +9,8 @@ import glob from 'glob';
*/
export const transformCurrentProjectToGitPulledProject = (projRoot: string) => {
const gitIgnoreFilePath = pathManager.getGitIgnoreFilePath(projRoot);
const regexrArray = fs.readFileSync(gitIgnoreFilePath, 'utf-8').split('\n');
regexrArray.forEach(str => {
const regexArray = fs.readFileSync(gitIgnoreFilePath, 'utf-8').split('\n');
regexArray.forEach(str => {
const dirPath = glob.sync(str, {
cwd: projRoot,
absolute: true,
Expand Down

0 comments on commit 0ac8f73

Please sign in to comment.