src/prettier.js in prettier-1.2.3 vs src/prettier.js in prettier-1.2.4
- old
+ new
@@ -1,7 +1,8 @@
// If `RBPRETTIER` is set, then this is being run from the `Prettier::run` ruby
// method. In that case, we need to pull `prettier` from the node_modules
// directly, as it's been shipped with the gem.
+/* istanbul ignore next */
const source = process.env.RBPRETTIER ? "../node_modules/prettier" : "prettier";
const prettier = require(source);
// Just combine all the things into one big object so that we can import