codeowners-git 1.4.0 → 1.4.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/dist/cli.js +3 -7
- package/package.json +3 -2
package/dist/cli.js
CHANGED
|
@@ -14945,16 +14945,12 @@ var multiBranch = async (options) => {
|
|
|
14945
14945
|
process.exit(1);
|
|
14946
14946
|
}
|
|
14947
14947
|
};
|
|
14948
|
+
// package.json
|
|
14949
|
+
var version = "1.4.1";
|
|
14948
14950
|
|
|
14949
14951
|
// src/commands/version.ts
|
|
14950
|
-
import { readFileSync } from "fs";
|
|
14951
|
-
import { fileURLToPath } from "url";
|
|
14952
|
-
import { dirname, join } from "path";
|
|
14953
14952
|
function getVersion() {
|
|
14954
|
-
|
|
14955
|
-
const __dirname2 = dirname(__filename2);
|
|
14956
|
-
const packageJson = JSON.parse(readFileSync(join(__dirname2, "../../package.json"), "utf8"));
|
|
14957
|
-
return packageJson.version;
|
|
14953
|
+
return version;
|
|
14958
14954
|
}
|
|
14959
14955
|
|
|
14960
14956
|
// src/cli.ts
|
package/package.json
CHANGED