Skip to content

Commit

Permalink
Merge pull request #631 from Kitware/floryst-patch-1
Browse files Browse the repository at this point in the history
chore(vite): remove extra package-lock check
  • Loading branch information
floryst authored Jul 30, 2024
2 parents 72b5fd6 + 032df3e commit 8d8319b
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 8d8319b

Please sign in to comment.