Skip to content

Commit

Permalink
[1.0] Fix windows paths (gatsbyjs#781)
Browse files Browse the repository at this point in the history
* Fix component path in gatsbygram/createPages

* Fix component path into gatsby-plugin-offline

* Fix path comparaison on query-runner watcher

* Refactor promise pattern

It's really hard to read with outsideResolve ;)

* Remove unused variables

* Fix path on gatsby/bootstrap

* Fix paths on build-node-types

* Remove miscommit debug line

* Update sharp dependency

* Run `yarn format`

* Add windows docs

* Add gatsby-on-windows on Quick Start link

* Fix path on gatsby-source-filesystem

* Fix www project on windows

* Fix responsive image on windows

* Apply windows fix in gatsbygram-case-study doc

* Fix `fix-semi` command on windows

* Run `yarn format`
  • Loading branch information
fabien0102 authored and KyleAMathews committed Apr 10, 2017
1 parent a59a30a commit 3179df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gatsby-node.js
Expand Up @@ -74,7 +74,7 @@ exports.sourceNodes = ({ args, pluginOptions }) =>
sourceName: pluginOptions.name,
children: [],
relativePath: slash(
path.posix.relative(pluginOptions.path, file.absolutePath)
path.relative(pluginOptions.path, file.absolutePath)
),
extension: file.ext.slice(1).toLowerCase(),
size: file.size,
Expand Down

0 comments on commit 3179df2

Please sign in to comment.