Skip to content

Commit

Permalink
fixes issue with paths on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
araad authored and ardatan committed Feb 1, 2019
1 parent b9e939b commit 09fa438
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion atmosphere-packages/angular-scss-compiler/file-utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = Npm.require('path');

export const basePath = process.cwd();
export const basePath = process.cwd().replace(/\\/g, '\/');

export function getMeteorPath(filePath) {
if (filePath.startsWith(basePath)) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = Npm.require('path');

export const basePath = process.cwd();
export const basePath = process.cwd().replace(/\\/g, '\/');

export function getMeteorPath(filePath) {
if (filePath.startsWith(basePath)) {
Expand Down

0 comments on commit 09fa438

Please sign in to comment.