Converted setup to ES Module

This commit is contained in:
2026-01-26 22:35:30 +01:00
parent 5b5ab6b78b
commit 8ec8f8deba

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env node
const { execSync, spawnSync } = require("child_process");
const { writeFileSync } = require("fs");
const { parseArgs } = require("util");
import { execSync, spawnSync } from "child_process";
import { writeFileSync } from "fs";
import { parseArgs } from "util";
const args = parseArgs({
options: {
@@ -107,7 +107,7 @@ if (spObjId) {
if (args.values["generate-client-secret"]) {
// Generate a new client secret for the application
try {
result = spawnSync(
const result = spawnSync(
"az",
[
"ad",