The Wayback Machine - https://web.archive.org/web/20201123155626/https://github.com/shelljs/shelljs/pull/959
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sed with -i option now runs silently #959

Open
wants to merge 5 commits into
base: master
from

Conversation

@joshi-sh
Copy link
Contributor

@joshi-sh joshi-sh commented Aug 10, 2019

Fixes issue #159 with shx

@codecov-io
Copy link

@codecov-io codecov-io commented Aug 10, 2019

Codecov Report

Merging #959 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #959      +/-   ##
==========================================
+ Coverage   97.28%   97.28%   +<.01%     
==========================================
  Files          34       34              
  Lines        1289     1291       +2     
==========================================
+ Hits         1254     1256       +2     
  Misses         35       35
Impacted Files Coverage Δ
src/sed.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57df38c...4eb4d74. Read the comment docs.

@nfischer nfischer added the breaking label Aug 13, 2019
@@ -170,7 +170,7 @@ test('glob file names, with in-place-replacement', t => {
const result = shell.sed('-i', 'test', 'hello', `${t.context.tmp}/file*.txt`);
t.falsy(shell.error());
t.is(result.code, 0);
t.is(result.toString(), 'hello1\n\nhello2\n'); // TODO: fix sed's behavior

This comment has been minimized.

@nfischer

nfischer Aug 13, 2019
Member

I think this TODO is about the double newline between hello1 and hello2, not the -i behavior. Could you file a github issue to track the double-newline thing?

joshi-sh added 4 commits Aug 10, 2019
…o sed-i-quiet
…o sed-i-quiet
…o sed-i-quiet

Updated gpg key to verify the commit
@zone117x
Copy link

@zone117x zone117x commented Nov 12, 2020

Hi all, is there anything preventing this PR from merging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.