question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Small fixes to the wiki

See original GitHub issue

I went through the ‘Using’ page of the wiki and found a few things that may need to be fixed.

  • Currently, the example replaces the foo string in foo.txt with bar, but then saves to foo.txt.bar.txt. I think it would make sense to save either to foo.txt or to bar.txt.
  • The ex() method uses in which is actually a keyword, and thus results in a syntax error. It also refers to self.out_bar() which has been renamed to self.out_replace() in the rest of the example.

I can fix this and submit a PR if needed?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
samuellcommented, Feb 2, 2018

Done!

Many thanks!

1reaction
samuellcommented, Feb 2, 2018

In MyFooReplacer, it seems to me that it’s not necessary to set in_foo to None (at least, I see the logic of it, but the workflow ran fine without it).

Yeah, this is a practice we adopted mainly for documentary purposes, to make it clearer which are the in-ports for the task, and so that it would show up when using auto-completion in the editor, to aid when designing the workflows.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Home repair - Wikipedia
Home repair involves the diagnosis and resolution of problems in a home, and is related to home maintenance to avoid such problems. Many...
Read more >
Help:Minor edit - Wikipedia
Examples include typographical corrections, corrections of minor formatting errors, and reversion of obvious vandalism. A minor edit is one that the editor ...
Read more >
Small Engine Repair (film) - Wikipedia
Small Engine Repair is a 2021 American black comedy drama film written and directed by John Pollono based on Pollono's play of the...
Read more >
Wikipedia:Extended image syntax
This editing guideline documents the syntax used to insert pictures and other media files into Wikipedia pages. The same syntax is used regardless...
Read more >
Help:Advanced text formatting - Wikipedia
This essay, Wikipedia:Advanced text formatting or Advanced typesetting, describes many techniques to control (or adjust) the alignment of text on a page.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found