Skip to content

Commit aece423

Browse files
committed
fix: disable multiline hook
1 parent 0844b88 commit aece423

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/core.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import {
3434
formatCmd,
3535
getCallerLocation,
3636
noop,
37-
normalizeMultilinePieces,
3837
parseDuration,
3938
quote,
4039
quotePowerShell,
@@ -150,7 +149,7 @@ export const $: Shell & Options = new Proxy<Shell & Options>(
150149
const promise = new ProcessPromise((...args) => ([resolve, reject] = args))
151150
const cmd = buildCmd(
152151
$.quote,
153-
normalizeMultilinePieces(pieces as TemplateStringsArray),
152+
(pieces as TemplateStringsArray),
154153
args
155154
) as string
156155
const snapshot = getStore()

test/core.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('core', () => {
4949
assert.equal((await $`echo -n ${''}`).toString(), '')
5050
})
5151

52-
test('handles multiline literals', async () => {
52+
test.skip('handles multiline literals', async () => {
5353
assert.equal(
5454
(
5555
await $`echo foo

0 commit comments

Comments
 (0)