Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Fix burnthemall on windows (close #1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed May 18, 2020
1 parent af12d10 commit 8fe2f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tasks/burnthemall.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var timeout = 0
var isWindows = (process.platform === "win32")

function main () {
var projectDir = __dirname.split('/').filter(Boolean).slice(0, -2).join('/')
var projectDir = __dirname.split(path.sep).filter(Boolean).slice(0, -2).join(path.sep)
var appDir = path.join(projectDir, 'app')
var scriptsDir = path.join(projectDir, 'scripts')
rmNodeModules(scriptsDir)
Expand Down

0 comments on commit 8fe2f13

Please sign in to comment.