@loybung/launcher 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -5
- package/package.json +1 -1
package/index.js
CHANGED
@@ -14,11 +14,9 @@ async function launcher({ url: url, filepath: filepath }, callback) {
|
|
14
14
|
return;
|
15
15
|
}
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
callback(run);
|
21
|
-
});
|
17
|
+
const app = path.resolve(__dirname, `../../../${filepath}`);
|
18
|
+
const { run } = require(app);
|
19
|
+
callback(run);
|
22
20
|
});
|
23
21
|
}
|
24
22
|
|