We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c69ac commit cb43f05Copy full SHA for cb43f05
templates/webStorm.js
@@ -2,7 +2,9 @@
2
3
var path = require('path');
4
5
-var ideTemplate = require('ide-template');
+var ideTemplate = require('ide-template');
6
+
7
+var isWindows = (['win32', 'win64'].indexOf(ideTemplate.util.platform) >= 0);
8
9
/**
10
* Using the generator's ./templates/idea/fileTemplates/<javascriptTarget>
@@ -60,7 +62,7 @@ function angularityToolNode(parameters) {
60
62
synchronizeAfterRun: 'true',
61
63
exec : [ {
64
name : 'COMMAND',
- value: 'angularity.cmd'
65
+ value: 'angularity' + (isWindows ? '.cmd' : '')
66
}, {
67
name : 'PARAMETERS',
68
value: parameters
0 commit comments