Skip to content

Commit

Permalink
fix project chdir?
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Sep 7, 2022
1 parent 7b473de commit e8c0d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/data-context/src/data/ProjectLifecycleManager.ts
Expand Up @@ -380,6 +380,8 @@ export class ProjectLifecycleManager {
}

private _setCurrentProject (projectRoot: string) {
process.chdir(projectRoot)

this._projectRoot = projectRoot
this._initializedProject = undefined

Expand Down
4 changes: 1 addition & 3 deletions packages/server/lib/project-base.ts
Expand Up @@ -153,9 +153,7 @@ export class ProjectBase<TServer extends Server> extends EE {
debug('opening project instance %s', this.projectRoot)
debug('project open options %o', this.options)

let cfg = this.getConfig()

process.chdir(this.projectRoot)
const cfg = this.getConfig()

this._server = this.createServer(this.testingType)

Expand Down

4 comments on commit e8c0d9a

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e8c0d9a Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.8.0/linux-x64/webkit-experimental-e8c0d9ab8c8e1a340e4c81f68ecb2768fd667d2a/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e8c0d9a Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.8.0/linux-arm64/webkit-experimental-e8c0d9ab8c8e1a340e4c81f68ecb2768fd667d2a/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e8c0d9a Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.8.0/darwin-arm64/webkit-experimental-e8c0d9ab8c8e1a340e4c81f68ecb2768fd667d2a/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on e8c0d9a Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.8.0/darwin-x64/webkit-experimental-e8c0d9ab8c8e1a340e4c81f68ecb2768fd667d2a/cypress.tgz

Please sign in to comment.