Skip to content

Commit b5dd400

Browse files
youknowriadmcsf
andauthored
Small tweak to restoring package.json
Co-authored-by: Miguel Fonseca <150562+mcsf@users.noreply.github.com>
1 parent e8a0aa5 commit b5dd400

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/gutenberg/build-gutenberg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ async function main() {
171171
async function restorePackageJson() {
172172
console.log( '\n🔄 Restoring Gutenberg package.json...' );
173173
try {
174-
await exec( 'git', [ 'checkout', 'package.json' ], {
174+
await exec( 'git', [ 'checkout', '--', 'package.json' ], {
175175
cwd: gutenbergDir,
176176
} );
177177
console.log( '✅ package.json restored' );

0 commit comments

Comments
 (0)