Skip to content

Commit 29bb7cc

Browse files
change permissions
1 parent 6b3c8df commit 29bb7cc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58045,7 +58045,7 @@ async function GetProjectDetails(credential, xcodeVersion) {
5804558045
infoPlistPath = `${projectDirectory}/Info.plist`;
5804658046
}
5804758047
core.info(`Info.plist path: ${infoPlistPath}`);
58048-
const infoPlistHandle = await fs.promises.open(infoPlistPath, fs.constants.O_RDWR);
58048+
const infoPlistHandle = await fs.promises.open(infoPlistPath, fs.constants.O_RDONLY);
5804958049
let infoPlistContent;
5805058050
try {
5805158051
infoPlistContent = await fs.promises.readFile(infoPlistHandle, 'utf8');

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.

src/xcode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export async function GetProjectDetails(credential: AppleCredential, xcodeVersio
7373
infoPlistPath = `${projectDirectory}/Info.plist`;
7474
}
7575
core.info(`Info.plist path: ${infoPlistPath}`);
76-
const infoPlistHandle = await fs.promises.open(infoPlistPath, fs.constants.O_RDWR);
76+
const infoPlistHandle = await fs.promises.open(infoPlistPath, fs.constants.O_RDONLY);
7777
let infoPlistContent: string;
7878
try {
7979
infoPlistContent = await fs.promises.readFile(infoPlistHandle, 'utf8');

0 commit comments

Comments
 (0)