Skip to content

Commit b434a37

Browse files
committed
Don't set SKIP_EXISTING if specified in fresh_sync
1 parent 9945e28 commit b434a37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/netsuite_rails/tasks/netsuite.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ def generate_options
2727
task :fresh_sync => :environment do
2828
NetSuiteRails::PollTimestamp.delete_all
2929

30-
ENV['SKIP_EXISTING'] = "true"
30+
if ENV['SKIP_EXISTING'].blank?
31+
ENV['SKIP_EXISTING'] = "true"
32+
end
3133

3234
Rake::Task["netsuite:sync"].invoke
3335
end

0 commit comments

Comments
 (0)