Skip to content

Commit

Permalink
Fix 0pdd issue with "too many leading spaces"
Browse files Browse the repository at this point in the history
Reading .rubocop.yml...
Reading todo.yml...
ERROR: todo.yml; puzzle at line #16; Too many leading spaces at 24:2; make sure all lines that include the puzzle body start at position #3.
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.
Exit code is 1

/app/objects/git_repo.rb:66:in `rescue in block in xml'
/app/objects/git_repo.rb:63:in `block in xml'
/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/tempfile.rb:295:in `open'
/app/objects/git_repo.rb:62:in `xml'
/app/objects/puzzles.rb:36:in `deploy'
/app/objects/job.rb:38:in `proceed'
/app/objects/job_starred.rb:33:in `proceed'
/app/objects/job_recorded.rb:32:in `proceed'
/app/objects/job_emailed.rb:35:in `proceed'
/app/objects/job_commiterrors.rb:36:in `proceed'
/app/objects/job_detached.rb:48:in `exclusive'
/app/objects/job_detached.rb:36:in `block in proceed'
/app/objects/job_detached.rb:36:in `fork'
/app/objects/job_detached.rb:36:in `proceed'
/app/0pdd.rb:358:in `block in '
  • Loading branch information
dgroup committed Jan 16, 2020
1 parent 8f39ac1 commit 91467f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion test/vcs4sql/sqlite/migration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#

require_relative "../../sqlite_test"
require_relative "../../../lib/vcs4sql/sqlite/migration"
Expand Down
20 changes: 10 additions & 10 deletions todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
# |- lib
# |- test
# |- upgrade
# |- sqlite
# |- 00-define-initial-structure.sql
# |- 02-add-missing-foreign-keys.sql
# |- 03-add-missing-indexes.sql
# |- 99-add.testdata.sql
# |- postgres
# |- ...
# |- mysql
# |- ...
# ||||- sqlite
# ||||||||- 00-define-initial-structure.sql
# ||||||||- 02-add-missing-foreign-keys.sql
# ||||||||- 03-add-missing-indexes.sql
# ||||||||- 99-add.testdata.sql
# ||||- postgres
# ||||||||- ...
# |||||- mysql
# ||||||||- ...
# |- Gemfile
# ...
# ...

6 comments on commit 91467f3

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 91467f3 Jan 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle DEV-1214b7cd discovered in todo.yml and submitted as #9. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 91467f3 Jan 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle DEV-7f4f0ad5 discovered in todo.yml and submitted as #10. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 91467f3 Jan 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle DEV-0cebd13d discovered in todo.yml and submitted as #11. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 91467f3 Jan 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle DEV-f11c7ae3 discovered in todo.yml and submitted as #12. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 91467f3 Jan 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle DEV-dab00982 discovered in todo.yml and submitted as #13. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 91467f3 Jan 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle DEV-7d90d09b discovered in todo.yml and submitted as #14. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

Please sign in to comment.