Skip to content

Commit

Permalink
OS X platform name is darwin.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishrutshah committed Jul 12, 2016
1 parent 2a491e8 commit 45d2e5c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 45d2e5c

Please sign in to comment.