Skip to content

Commit

Permalink
fix: disable multiline hook
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Apr 5, 2024
1 parent 0844b88 commit aece423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import {
formatCmd,
getCallerLocation,
noop,
normalizeMultilinePieces,
parseDuration,
quote,
quotePowerShell,
Expand Down Expand Up @@ -150,7 +149,7 @@ export const $: Shell & Options = new Proxy<Shell & Options>(
const promise = new ProcessPromise((...args) => ([resolve, reject] = args))
const cmd = buildCmd(
$.quote,
normalizeMultilinePieces(pieces as TemplateStringsArray),
(pieces as TemplateStringsArray),
args
) as string
const snapshot = getStore()
Expand Down
2 changes: 1 addition & 1 deletion test/core.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('core', () => {
assert.equal((await $`echo -n ${''}`).toString(), '')
})

test('handles multiline literals', async () => {
test.skip('handles multiline literals', async () => {
assert.equal(
(
await $`echo foo
Expand Down

0 comments on commit aece423

Please sign in to comment.