Skip to content

Commit

Permalink
(chore): rename projectHash to projectPathHash
Browse files Browse the repository at this point in the history
  • Loading branch information
2color authored and Jolg42 committed May 11, 2020
1 parent 1b0f48d commit e8f66fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/packages/cli/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,16 @@ async function main(): Promise<number> {
}
console.log(result)

// Project hash is a SHA256 of the schemaPath
const projectHash = await getProjectHash()
// SHA256 identifier for the project based on the prisma schema path
const projectPathHash = await getProjectHash()
// SHA256 of the cli path
const cliPathHash = getCLIPathHash()

// check prisma for updates
const checkResult = await checkpoint.check({
product: 'prisma',
cli_path_hash: cliPathHash,
project_hash: projectHash,
project_hash: projectPathHash,
version: packageJson.version,
disable: ci.isCI,
})
Expand Down

0 comments on commit e8f66fa

Please sign in to comment.