Skip to content

Commit

Permalink
Merge pull request Shopify#1191 from Shopify/update-eslint-errors
Browse files Browse the repository at this point in the history
Update eslint warning messages with correct paths
  • Loading branch information
matteodepalo authored Jan 24, 2023
2 parents 787d5e4 + a7b8d6e commit 20f2038
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ module.exports = {
paths: [
{
name: 'path',
message: "Please use: import { path } from '@shopify/cli-kit'",
message: "Please use: import { joinPath } from '@shopify/cli-kit/node/path'",
},
{
name: 'node:path',
message: "Please use: import { path } from '@shopify/cli-kit'",
message: "Please use: import { joinPath } from '@shopify/cli-kit/node/path'",
},
{
name: 'child_process',
message: "Please use: import { system } from '@shopify/cli-kit'",
message: "Please use: import { exec } from '@shopify/cli-kit/node/system'",
},
{
name: 'node:child_process',
message: "Please use: import { system } from '@shopify/cli-kit'",
message: "Please use: import { exec } from '@shopify/cli-kit/node/system'",
},
],
},
Expand Down

0 comments on commit 20f2038

Please sign in to comment.