Skip to content

Commit

Permalink
xo --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Jan 31, 2024
1 parent 6a58244 commit 2510e70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/package-manager/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const pnpmConfig = {
installCommand: ['pnpm', ['install']],
versionCommand: version => ['pnpm', ['version', version]],
tagVersionPrefixCommand: ['pnpm', ['config', 'get', 'tag-version-prefix']],
publishCli: 'npm', // pnpm does git cleanliness checks, which np already did, and which fail because when publishing package.json has been updated
publishCli: 'npm', // Pnpm does git cleanliness checks, which np already did, and which fail because when publishing package.json has been updated
getRegistryCommand: ['pnpm', ['config', 'get', 'registry']],
lockfiles: ['pnpm-lock.yaml'],
};
Expand Down
4 changes: 2 additions & 2 deletions source/prerequisite-tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ const prerequisiteTasks = (input, pkg, options, pkgManager) => {
},
{
title: `Check ${pkgManager.cli} version`,
task: async () => {
async task() {
const {stdout: version} = await execa(pkgManager.cli, ['--version']);
util.validateEngineVersionSatisfies(pkgManager.cli, version);
}
},
},
{
title: 'Verify user is authenticated',
Expand Down

0 comments on commit 2510e70

Please sign in to comment.