Skip to content

Commit

Permalink
Using arch-specific path sep
Browse files Browse the repository at this point in the history
  • Loading branch information
tbiethman committed Aug 29, 2022
1 parent e0d4af7 commit 8109aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/data-context/src/sources/FileDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class FileDataSource {

async getFilesByGlob (cwd: string, glob: string | string[], globOptions?: GlobbyOptions) {
const globs = ([] as string[]).concat(glob).map((globPattern) => {
const workingDirectoryPrefix = path.join(cwd, '/')
const workingDirectoryPrefix = path.join(cwd, path.sep)

// If the pattern includes the working directory, we strip it from the pattern.
// The working directory path may include characters that conflict with glob
Expand Down

1 comment on commit 8109aae

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 8109aae Aug 29, 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.7.0/linux-x64/tbiethman/23380-root-spec-pattern-8109aae1aa9b004ed15cb84d0882783efb9ee003/cypress.tgz

Please sign in to comment.