Skip to content

Commit

Permalink
chore(vite): remove extra package-lock check
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst authored Jul 29, 2024
1 parent 72b5fd6 commit 032df3e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ import replace from '@rollup/plugin-replace';
import pkgLock from './package-lock.json';
import { config } from './wdio.shared.conf';

if (pkgLock.lockfileVersion !== 2) {
throw new Error('package-lock.json is not version 2!');
}

function getPackageInfo(lockInfo: typeof pkgLock) {
if (lockInfo.lockfileVersion === 2) {
return {
Expand Down

0 comments on commit 032df3e

Please sign in to comment.