Skip to content

Commit

Permalink
Update git-pull.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SK3Artemis authored Nov 8, 2024
1 parent 1bde153 commit dd405b5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions git-pull.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let options;
const argsSchema = [
['github', 'alainbryden'],
['github', 'SK3Artemis'],
['repository', 'bitburner-scripts'],
['branch', 'main'],
['download', []], // By default, all supported files in the repository will be downloaded. Override with just a subset of files here
Expand Down Expand Up @@ -40,8 +40,10 @@ export async function main(ns) {
else
ns.tprint(`WARNING: "${fullLocalFilePath}" was not updated. (Currently running, or not located at ${remoteFilePath}?)`)
}
ns.tprint(`INFO: Pull complete. If you have any questions or issues, create an issue on github or join the ` +
`Bitburner Discord channel "#Insight's-scripts": https://discord.com/channels/415207508303544321/935667531111342200`);
ns.tprint(`[Edit by SK_] ` +
`INFO: Pull complete. If you have any questions or issues, create an issue on github or join the ` +
`Bitburner Discord channel "#Insight's-scripts": https://discord.com/channels/415207508303544321/935667531111342200` +
`To start, type: "autopilot.js" `);
// Remove any temp files / scripts from the prior version
ns.run(pathJoin(options.subfolder, `cleanup.js`));
}
Expand Down Expand Up @@ -103,4 +105,4 @@ async function repositoryListing(ns, folder = '') {
return ns.ls('home').filter(name => options.extension.some(ext => f.endsWith(ext)) &&
!options['omit-folder'].some(dir => name.startsWith(dir)));
}
}
}

0 comments on commit dd405b5

Please sign in to comment.