From 91467f3bda5815215f0a66cd6e52ad3cf22934b7 Mon Sep 17 00:00:00 2001 From: Yurii Dubinka Date: Thu, 16 Jan 2020 22:24:52 +0530 Subject: [PATCH] Fix 0pdd issue with "too many leading spaces" 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 ' --- test/vcs4sql/sqlite/migration_test.rb | 1 - todo.yml | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/test/vcs4sql/sqlite/migration_test.rb b/test/vcs4sql/sqlite/migration_test.rb index d18f320..3a61fd9 100644 --- a/test/vcs4sql/sqlite/migration_test.rb +++ b/test/vcs4sql/sqlite/migration_test.rb @@ -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" diff --git a/todo.yml b/todo.yml index 974b782..3e73f61 100644 --- a/todo.yml +++ b/todo.yml @@ -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 -# ... \ No newline at end of file +# ...