@sapphire-sh/utils 3.3.0 → 3.4.0

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.
@@ -137,10 +137,10 @@ const writeWorkflow = (outputName, template) => {
137
137
  const writeDependabotConfig = (outputName, template) => {
138
138
  const filepath = join(cwd, outputName);
139
139
  const manifestDirectories = [];
140
- const trackedFiles = spawnSync('git', ['ls-files'], { cwd, encoding: 'utf-8' });
140
+ const trackedFiles = spawnSync('git', ['ls-files', '-z'], { cwd, encoding: 'utf-8' });
141
141
 
142
142
  if (trackedFiles.status === 0) {
143
- for (const path of trackedFiles.stdout.split('\n')) {
143
+ for (const path of trackedFiles.stdout.split('\0')) {
144
144
  if (basename(path) === 'package.json' && dirname(path) !== '.') {
145
145
  manifestDirectories.push(`/${dirname(path)}`);
146
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire-sh/utils",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "@sapphire-sh/utils",
5
5
  "type": "module",
6
6
  "sideEffects": false,