Skip to content

Commit

Permalink
OS X platform name is darwin. (Azure#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishrutshah authored Jul 12, 2016
1 parent 2a491e8 commit 0da7d34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tools/gulp/gulp-regenerate-expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var PluginError = gutil.PluginError;

var isWindows = (process.platform.lastIndexOf('win') === 0);
var isLinux= (process.platform.lastIndexOf('linux') === 0);
var isMac = (process.platform.lastIndexOf('mac') === 0);
var isMac = (process.platform.lastIndexOf('darwin') === 0);

function GetAutoRestFolder() {
if (isWindows) {
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const DEFAULT_ASSEMBLY_VERSION = '0.9.0.0';
const MAX_BUFFER = 1024 * 4096;
var isWindows = (process.platform.lastIndexOf('win') === 0);
var isLinux= (process.platform.lastIndexOf('linux') === 0);
var isMac = (process.platform.lastIndexOf('mac') === 0);
var isMac = (process.platform.lastIndexOf('darwin') === 0);

process.env.MSBUILDDISABLENODEREUSE = 1;

Expand Down

0 comments on commit 0da7d34

Please sign in to comment.