@ttsc/strip 0.19.2 → 0.20.0
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/driver/config.go +2 -5
- package/package.json +1 -1
package/driver/config.go
CHANGED
|
@@ -13,6 +13,7 @@ import (
|
|
|
13
13
|
"time"
|
|
14
14
|
|
|
15
15
|
"github.com/samchon/ttsc/packages/ttsc/driver"
|
|
16
|
+
"github.com/samchon/ttsc/packages/ttsc/driver/windowsjunction"
|
|
16
17
|
)
|
|
17
18
|
|
|
18
19
|
// configLoaderTimeout caps every `ttsx`/`node -e` subprocess that evaluates a
|
|
@@ -541,11 +542,7 @@ func stripLinkNearestNodeModules(tempDir, sourceDir string) error {
|
|
|
541
542
|
|
|
542
543
|
// stripCreateWindowsJunction creates a directory junction on Windows.
|
|
543
544
|
func stripCreateWindowsJunction(link, target string) error {
|
|
544
|
-
|
|
545
|
-
if out, err := cmd.CombinedOutput(); err != nil {
|
|
546
|
-
return fmt.Errorf("mklink /J failed: %v: %s", err, strings.TrimSpace(string(out)))
|
|
547
|
-
}
|
|
548
|
-
return nil
|
|
545
|
+
return windowsjunction.Create(link, target)
|
|
549
546
|
}
|
|
550
547
|
|
|
551
548
|
// stripRelativeImportSpecifier computes the ESM import specifier for location
|
package/package.json
CHANGED