Skip to content

Commit 0451199

Browse files
Node.js deprecation of spawn args + shell: true
1 parent 94cecd4 commit 0451199

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/devextreme-cli/src/utility/run-command.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ module.exports = function(commandName, args = [], customConfig = {}) {
88
const config = {
99
stdio: 'inherit',
1010
windowsVerbatimArguments: true,
11-
shell: true
1211
};
1312

1413
if(customConfig) {

packages/devextreme-schematics/src/add-app-template/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ export default function(options: any): Rule {
4242
}
4343

4444
const postinstallScripts = () => {
45-
const isWin = /^win/.test(process.platform);
46-
4745
const sassEmbeddedPath = resolve('node_modules', 'sass-embedded');
4846
const sassVendorPath = join(sassEmbeddedPath, 'dist', 'lib', 'src', 'vendor', 'dart-sass-embedded');
4947
if (!existsSync(sassVendorPath)) {
5048
spawnSync('npm', ['run', 'postinstall'], {
5149
cwd: resolve(join('node_modules', 'sass-embedded')),
5250
windowsVerbatimArguments: true,
53-
shell: isWin ? false : true
5451
});
5552
}
5653
};

0 commit comments

Comments
 (0)