Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit f86620e

Browse files
authored
Merge remote-tracking branch 'origin/main' into lsep/go-list-impl
2 parents 84b027b + a53b2da commit f86620e

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

dist/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ function detect() {
7878
if (goModDir !== '.') {
7979
if (goBuildTarget.startsWith(goModDir)) {
8080
goBuildTarget = goBuildTarget.replace(goModDir, '');
81-
goBuildTarget = goBuildTarget.startsWith("/") ? goBuildTarget.substring(1) : goBuildTarget;
81+
goBuildTarget = goBuildTarget.startsWith('/')
82+
? goBuildTarget.substring(1)
83+
: goBuildTarget;
8284
}
8385
else {
8486
throw new Error(`The build target ${goBuildTarget} is not a sub-directory of ${goModDir}`);

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)