Skip to content

Commit afb7677

Browse files
author
Aaron Chambers
committed
Merge pull request #15 from duizendnegen/feature/windows-path
use path.sep instead of / for cross-platform compatibility
2 parents 4092f0a + 4a55025 commit afb7677

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
var Promise = require('ember-cli/lib/ext/promise');
55
var glob = require('glob');
66
var DeployPluginBase = require('ember-cli-deploy-plugin');
7+
var path = require('path');
78

89
module.exports = {
910
name: 'ember-cli-deploy-build',
@@ -13,7 +14,7 @@ module.exports = {
1314
name: options.name,
1415
defaultConfig: {
1516
environment: 'production',
16-
outputPath: 'tmp/deploy-dist'
17+
outputPath: 'tmp' + path.sep + 'deploy-dist'
1718
},
1819

1920
build: function(context) {

0 commit comments

Comments
 (0)