Skip to content

Commit 06542ba

Browse files
fix: check optional parameter (#5)
Co-authored-by: m.onohara <[email protected]>
1 parent 7e358da commit 06542ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packagers/yarn.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class Yarn implements Packager {
117117
const args = [ 'install', '--frozen-lockfile', '--non-interactive' ];
118118

119119
// Convert supported packagerOptions
120-
if (packagerOptions.ignoreScripts) {
120+
if (packagerOptions?.ignoreScripts) {
121121
args.push('--ignore-scripts');
122122
}
123123

0 commit comments

Comments
 (0)