mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
parent
8cf270aad2
commit
140ee3d5e9
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ var path = require('path'),
|
||||||
fs = require('fs'),
|
fs = require('fs'),
|
||||||
_ = require('lodash'),
|
_ = require('lodash'),
|
||||||
escapeChar = process.platform.match(/^win/) ? '^' : '\\',
|
escapeChar = process.platform.match(/^win/) ? '^' : '\\',
|
||||||
cwd = process.cwd().replace(' ', escapeChar + ' '),
|
cwd = process.cwd().replace(/( |\(|\))/g, escapeChar + '$1'),
|
||||||
buildDirectory = path.resolve(cwd, '.build'),
|
buildDirectory = path.resolve(cwd, '.build'),
|
||||||
distDirectory = path.resolve(cwd, '.dist'),
|
distDirectory = path.resolve(cwd, '.dist'),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue