Skip to content

Commit

Permalink
chore: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Oct 28, 2022
1 parent e1f9305 commit b9dcb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/node-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class NodeWorkspace extends WorkspacePlugin<Package> {
const depVersion = updatedVersions.get(depName);
if (depVersion && resolved.type !== 'directory') {
const currentVersion = this.combineDeps(pkg)?.[depName];
const prefix = currentVersion?.length
const prefix = currentVersion
? this.detectRangePrefix(currentVersion)
: '';
updatedPackage.updateLocalDependency(
Expand Down

0 comments on commit b9dcb35

Please sign in to comment.