Skip to content

Commit

Permalink
fix Pacakge.swift paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Aug 27, 2024
1 parent ba3e447 commit acfe939
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export async function run(): Promise<void> {
await git.raw('branch', 'remote_swift_package', 'FETCH_HEAD')
await git.raw('worktree', 'add', '.git/tmp/remote_swift_package', 'remote_swift_package')

Check failure on line 30 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Replace `'worktree',·'add',·'.git/tmp/remote_swift_package',·'remote_swift_package'` with `⏎······'worktree',⏎······'add',⏎······'.git/tmp/remote_swift_package',⏎······'remote_swift_package'⏎····`

const packageSource = fs.readFileSync(`.${localPackagePath}`, 'utf8')
fs.writeFileSync(`.git/tmp/remote_swift_package${remotePackagePath}`, packageSource);
const packageSource = fs.readFileSync(`.${localPackagePath}/Package.swift`, 'utf8')

Check failure on line 32 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Replace ``.${localPackagePath}/Package.swift`,·'utf8'` with `⏎······`.${localPackagePath}/Package.swift`,⏎······'utf8'⏎····`
fs.writeFileSync(`.git/tmp/remote_swift_package${remotePackagePath}/Package.swift`, packageSource);

Check failure on line 33 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Replace ``.git/tmp/remote_swift_package${remotePackagePath}/Package.swift`,·packageSource);` with `⏎······`.git/tmp/remote_swift_package${remotePackagePath}/Package.swift`,⏎······packageSource⏎····)`

Check failure on line 33 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Extra semicolon

const worktreeGit = simpleGit('.git/tmp/remote_swift_package')
await worktreeGit.add('.')
Expand Down

0 comments on commit acfe939

Please sign in to comment.