Skip to content

Commit

Permalink
Remove unused shell-quote
Browse files Browse the repository at this point in the history
  • Loading branch information
benibenj committed May 2, 2024
1 parent 3e93e3f commit 434754f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/package.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { XMLManifest, parseXmlManifest, parseContentTypes } from '../xml';
import { flatten, log } from '../util';
import { validatePublisher } from '../validation';
import * as jsonc from 'jsonc-parser';
import { quote } from 'shell-quote';

// don't warn in tests
console.warn = () => null;
Expand Down Expand Up @@ -3008,7 +3007,7 @@ describe('version', function () {
const commitMessage = 'test commit message';
await versionBump({ cwd, version: '1.1.1', commitMessage });

assert.deepStrictEqual(git(['show', '-s', '--format=%B', 'HEAD']).stdout, `${quote([commitMessage])}\n\n`);
assert.deepStrictEqual(git(['show', '-s', '--format=%B', 'HEAD']).stdout, `${commitMessage}\n\n`);
});

it('should not create git tag and commit', async () => {
Expand Down

0 comments on commit 434754f

Please sign in to comment.