pronto-markdownlint 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f4f981988d91f6cd62c539a742909c3f711267f7cb599c40904485ade5c2a03
4
- data.tar.gz: 822ab4c93e61851a75f23004613bce1577ae295cc918bae57f2c55ee47bf3c96
3
+ metadata.gz: 07b2d2c4d0e27b2952b8a7b3177bfde90d6acf42ae2de49bac72b91128423881
4
+ data.tar.gz: 795405d76fb405b731b5b578c1918eacb70728539527c7b6e4bd283f52d3d06d
5
5
  SHA512:
6
- metadata.gz: 6acb82ac9c07a8dd9cd3b4106c41275598b8b72ef81c1c085dee93fe9ea48fb1978619f81f8227a12c9ab8f56d95d82734e07194f10cb2f5da8e01eeb6c345ce
7
- data.tar.gz: d6ca953eafdf541dc2df613681e683394a6c114791d8a3cb63de2ca762a96051406d4a1316ac2c5a6e19b38226d5985a2fb25c5b8e9c5f2119f4c6552e8620c3
6
+ metadata.gz: 9bada4f9e6a7bd6270eca73c0b4069d82975f2d59cdf989fd4959fa7fa0c93a5c25caf6a85ec704c0770eec7c3a75d827ad1e79f68a583a6d4e4f6d4acb058ec
7
+ data.tar.gz: 844a0b3d5401343656658a651de7a2541821872ccec51d246fd379986c80bc2b8e24c1aa9bb63c0d664ec52c55674ed50143ca54925061a5636a24913b6692ad
@@ -44,7 +44,7 @@ module Pronto
44
44
 
45
45
  def run_stylelint(patch)
46
46
  escaped_file_path = Shellwords.escape(patch.new_file_full_path.to_s)
47
- `markdownlint-cli2 #{escaped_file_path}`
47
+ `PATH=$(npm bin):$PATH markdownlint-cli2 #{escaped_file_path}`
48
48
 
49
49
  JSON.parse(File.read("./markdownlint-results.json"))
50
50
  end
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module MarkdownlintVersion
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-markdownlint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Temuulen Enkhee