Skip to content

Commit

Permalink
chore: update outputPath. remove recordings folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Murray committed Mar 22, 2022
1 parent ddaedfd commit 6cb4df2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
recordings/*.json
recordings/*.js
recordings/*
yarn-error.log
.DS_Store
3 changes: 2 additions & 1 deletion dist/cli/transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import cypressStringifyChromeRecorder from '../main.js';
const __dirname = path.resolve(path.dirname('.'));
export async function runTransforms({ files, flags, }) {
const transformPath = path.join(__dirname, '/dist/main.js');
const outputPath = path.join(__dirname, '/recordings');
// TODO: make this an input via CLI
const outputPath = path.join(__dirname, '/cypress/integration');
const { dry, print } = flags;
const args = ['-t', transformPath].concat(files);
console.log('🚀 ~ file: transforms.ts ~ line 27 ~ files', files);
Expand Down
1 change: 0 additions & 1 deletion recordings/.gitkeep

This file was deleted.

3 changes: 2 additions & 1 deletion src/cli/transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export async function runTransforms({
flags: Flags;
}): Promise<Promise<string | void>[] | undefined> {
const transformPath = path.join(__dirname, '/dist/main.js');
const outputPath = path.join(__dirname, '/recordings');
// TODO: make this an input via CLI
const outputPath = path.join(__dirname, '/cypress/integration');
const { dry, print } = flags;
const args = ['-t', transformPath].concat(files);
console.log('🚀 ~ file: transforms.ts ~ line 27 ~ files', files);
Expand Down

0 comments on commit 6cb4df2

Please sign in to comment.